From a088a50201a7f8aa21dafda2c5d8c0d59ab9f627 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 19 May 2014 18:28:06 +0400 Subject: [PATCH] refs #30 - Sketch base GUI: create, draw lines Separation of AIS objects activation in the local selection from the feature display/redisplay --- src/PartSet/PartSet_Module.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.2