From: Nicolas Rechatin Date: Mon, 27 Sep 2021 11:37:40 +0000 (+0200) Subject: fix execute errors X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2738b044abba66110601b8db6d794aaa5fdcde7d;p=modules%2Fshaper.git fix execute errors --- diff --git a/src/OperaPlugin/OperaPlugin_AddNode.cpp b/src/OperaPlugin/OperaPlugin_AddNode.cpp index 9c67576d2..3908316c6 100644 --- a/src/OperaPlugin/OperaPlugin_AddNode.cpp +++ b/src/OperaPlugin/OperaPlugin_AddNode.cpp @@ -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, diff --git a/src/OperaPlugin/addnode_widget.xml b/src/OperaPlugin/addnode_widget.xml index adf237d15..89e424d76 100644 --- a/src/OperaPlugin/addnode_widget.xml +++ b/src/OperaPlugin/addnode_widget.xml @@ -2,7 +2,8 @@ + shape_types="solids" + concealment="true">