From: Lauffenburger Thomas Date: Tue, 6 Jun 2017 07:34:52 +0000 (+0200) Subject: Fix a pb with recursively redundant links X-Git-Tag: V8_4_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9b390c06f9f152be105894b6cc80799f43cd3ae3;p=modules%2Fyacs.git Fix a pb with recursively redundant links Signed-off-by: Ovidiu Mircescu --- diff --git a/src/engine/Bloc_impl.cxx b/src/engine/Bloc_impl.cxx index d3f3c6f83..ba636e442 100644 --- a/src/engine/Bloc_impl.cxx +++ b/src/engine/Bloc_impl.cxx @@ -86,6 +86,7 @@ void Bloc::fitToPlayGround(const PlayGround *pg) }; YACS::BASES::AutoRefCnt pd(new AllPartDefinition(pg,1)); std::map > zeMap; + this->removeRecursivelyRedundantCL(); this->partitionRegardingDPL(pd,zeMap); MyVisitor vis(this); this->accept(&vis); diff --git a/src/engine/SetOfPoints.cxx b/src/engine/SetOfPoints.cxx index e869b88ca..39d787168 100644 --- a/src/engine/SetOfPoints.cxx +++ b/src/engine/SetOfPoints.cxx @@ -61,7 +61,7 @@ void SetOfPoints::simplify() continue; _bp->deal2Ter(somethingDone); if(!somethingDone) - throw Exception("SetOfPoints::simplify : not implemented yet !"); + throw Exception("SetOfPoints::simplify : not implemented yet !\nPlease check if there are any recursively redundant links (can be removed by removeRecursivelyRedundantCL method)."); } }