]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
fix execute errors
authorNicolas Rechatin <nicolas.rechatin@cea.fr>
Mon, 27 Sep 2021 11:37:40 +0000 (13:37 +0200)
committerNicolas Rechatin <nicolas.rechatin@cea.fr>
Mon, 27 Sep 2021 11:37:40 +0000 (13:37 +0200)
src/OperaPlugin/OperaPlugin_AddNode.cpp
src/OperaPlugin/addnode_widget.xml

index 9c67576d21413ab05a44eaf70fb4c28db824679c..3908316c618b73f8e8b6910e957b55413e0a1e17 100644 (file)
@@ -126,7 +126,6 @@ void OperaPlugin_AddNode::execute()
     return setError("Error: cannot perform an AddNode with no main object.");
   if(aToolList.empty())
     return setError("Error: Tools list cannot be empty.");
-  aMainObjectAttr->context()->setDisabled(aMainObjectAttr->context(), true); // To avoid activation of the Part result
 
   //Perform Algorithm
   performAlgo(GeomAlgoAPI_Tools::BOOL_CUT,
index adf237d15a5ee31d6e2e0026db008feebb32d0bb..89e424d769e564f97001daaeb2203fd71019361c 100644 (file)
@@ -2,7 +2,8 @@
   <shape_selector id="main_object"
                   label="Main object"
                   tooltip="Select a main object"
-                  shape_types="solids">
+                  shape_types="solids"
+                  concealment="true">
     <validator id="GeomValidators_ShapeType" parameters="solid"/>
   </shape_selector>
   <multi_selector id="tools_list"