Salome HOME
Fix the deletion events problems
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Sketch.cpp
index 58ab7cb98af9708399f88d172a257094dd8a7839..466024127b2af00ea9d0a95bf4ad70db9b187f26 100644 (file)
@@ -89,8 +89,8 @@ void SketchPlugin_Sketch::execute()
           continue;
       }
       // do not include the construction entities in the result
-      if (aFeature->data()->attribute(SketchPlugin_SketchEntity::CONSTRUCTION_ID())) {
-        if (aFeature->data()->boolean(SketchPlugin_SketchEntity::CONSTRUCTION_ID())->value())
+      if (aFeature->data()->attribute(SketchPlugin_SketchEntity::AUXILIARY_ID())) {
+        if (aFeature->data()->boolean(SketchPlugin_SketchEntity::AUXILIARY_ID())->value())
           continue;
       }