From: vsv Date: Thu, 30 Oct 2014 08:11:41 +0000 (+0300) Subject: Added comment X-Git-Tag: V_0.5~60^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=342e2b041c468ebc85e5d6cffc9b69cdcec2429c;p=modules%2Fshaper.git Added comment --- diff --git a/src/ModuleBase/ModuleBase_Operation.cpp b/src/ModuleBase/ModuleBase_Operation.cpp index 896da097e..5ffb8b760 100644 --- a/src/ModuleBase/ModuleBase_Operation.cpp +++ b/src/ModuleBase/ModuleBase_Operation.cpp @@ -29,6 +29,9 @@ #include +#include +#include + #ifdef _DEBUG #include #endif @@ -256,6 +259,9 @@ bool ModuleBase_Operation::activateByPreselection() aPrs = (*aPIt); ModuleBase_WidgetValueFeature aValue; aValue.setObject(aPrs.object()); + // Check if the selection has a selected point + // for today it is impossible to do because + // the selected point demands convertation to Sketch plane 2d if (!aWgt->setValue(&aValue)) break; }