From: nds Date: Mon, 19 May 2014 14:28:06 +0000 (+0400) Subject: refs #30 - Sketch base GUI: create, draw lines X-Git-Tag: V_0.2~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a088a50201a7f8aa21dafda2c5d8c0d59ab9f627;p=modules%2Fshaper.git refs #30 - Sketch base GUI: create, draw lines Separation of AIS objects activation in the local selection from the feature display/redisplay --- diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index 24d9044fa..8f2ef6e4f 100644 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -208,7 +208,8 @@ void PartSet_Module::onFeatureConstructed(boost::shared_ptr th bool isDisplay = theMode != PartSet_OperationSketchBase::FM_Abort; visualizePreview(theFeature, isDisplay, false); - if (theMode == FM_Activation || theMode == FM_Deactivation) + if (theMode == PartSet_OperationSketchBase::FM_Activation || + theMode == PartSet_OperationSketchBase::FM_Deactivation) activateFeature(theFeature, true); }