Revert "Fixed periodic nearest power vertex"

This reverts commit 6caf42979f905958b0e147291433097987daa713.

P3M3 crashes without this. To be investigated.
This commit is contained in:
Mael Rouxel-Labbé 2017-03-16 17:13:06 +01:00
parent c76c278f2f
commit a93445274c
1 changed files with 2 additions and 0 deletions

View File

@ -681,6 +681,8 @@ public:
Locate_type lt;
int li, lj;
Cell_handle c = locate(p, lt, li, lj, start);
if (lt == Tr_Base::VERTEX)
return c->vertex(li);
const Conflict_tester tester(p, this);
Offset o = combine_offsets(Offset(), get_location_offset(tester, c));