From: mpv Date: Mon, 28 Jul 2014 06:09:59 +0000 (+0400) Subject: Fixed the problem with two results in the sketch circle X-Git-Tag: V_0.4.4~143 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=inline;h=2cf2bf88f9e46b56c374caecaf8f066cb6e61d97;hp=dd71e2f5032a7680961b9ee447c44db1e7a90663;p=modules%2Fshaper.git Fixed the problem with two results in the sketch circle --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index c50b4a05b..a69ef1a93 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -723,7 +723,7 @@ boost::shared_ptr Model_Document::createConstructio } if (!aResult) { aResult = boost::shared_ptr(new Model_ResultConstruction); - storeResult(theFeatureData, aResult); + storeResult(theFeatureData, aResult, theIndex); } return aResult; } @@ -739,7 +739,7 @@ boost::shared_ptr Model_Document::createBody( } if (!aResult) { aResult = boost::shared_ptr(new Model_ResultBody); - storeResult(theFeatureData, aResult); + storeResult(theFeatureData, aResult, theIndex); } return aResult; } @@ -755,7 +755,7 @@ boost::shared_ptr Model_Document::createPart( } if (!aResult) { aResult = boost::shared_ptr(new Model_ResultPart); - storeResult(theFeatureData, aResult); + storeResult(theFeatureData, aResult, theIndex); } return aResult; }