From 2cf2bf88f9e46b56c374caecaf8f066cb6e61d97 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 28 Jul 2014 10:09:59 +0400 Subject: [PATCH 1/1] Fixed the problem with two results in the sketch circle --- src/Model/Model_Document.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.30.2