Commit 57fd1949 authored by pitiot's avatar pitiot

envmap

parent 17bff2c9
......@@ -532,7 +532,7 @@ void EnvMap::subdivideVolume(Dart dglobal)
map.setCurrentLevel(max) ;
std::cout << "dglobal = " << dglobal << "level = "<< max << std::endl;
std::cout << "dglobal = " << dglobal << "level = "<< map.getDartLevel(dglobal) << std::endl;
ARETES oldobst(RegisteredEdges[dglobal]) ;
......@@ -543,7 +543,7 @@ void EnvMap::subdivideVolume(Dart dglobal)
for (Segment * s : oldNeighborObst)
this->popSegment(s) ;
if(!map.isBoundaryMarked(3,dglobal) )
if(!map.isBoundaryMarked(3,dglobal) && map.getDartLevel(dglobal) <= max && !map.volumeIsSubdivided(dglobal) )
{
#ifdef DEBUG_affichage
CGoGNout<<"debut subdivision"<< CGoGNendl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment