From: nds Date: Thu, 28 Apr 2016 13:34:14 +0000 (+0300) Subject: Issue #1037 : do not find model indices for the same result. If selection mode is... X-Git-Tag: V_2.3.0~75 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c953fa0c0a14f1a59518a075d5a6bb4339bc3c88;p=modules%2Fshaper.git Issue #1037 : do not find model indices for the same result. If selection mode is face, for each result it will be placed in the map 6 times. --- diff --git a/src/Model/Model_AttributeSelectionList.cpp b/src/Model/Model_AttributeSelectionList.cpp index 03dde11ab..e97a2ee49 100644 --- a/src/Model/Model_AttributeSelectionList.cpp +++ b/src/Model/Model_AttributeSelectionList.cpp @@ -295,6 +295,7 @@ Model_AttributeSelectionList::Model_AttributeSelectionList(TDF_Label& theLabel) } else { // recollect mySubs theLabel.FindAttribute(TDataStd_Comment::GetID(), mySelectionType); } + myIsCashed = false; } void Model_AttributeSelectionList::cashValues(const bool theEnabled)