]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Code correction according to specification.
authornds <nds@opencascade.com>
Thu, 26 May 2016 08:31:19 +0000 (11:31 +0300)
committernds <nds@opencascade.com>
Thu, 26 May 2016 09:55:44 +0000 (12:55 +0300)
src/PartSet/PartSet_WidgetPoint2d.cpp
src/PartSet/PartSet_WidgetPoint2d.h
src/SketchPlugin/plugin-Sketch.xml

index 6a51a04e8174a5138bd41d77c9ce2ff4124199b5..6b77f8535f2e5ee63b02678667b992afbd49dcc9 100644 (file)
@@ -78,7 +78,6 @@ PartSet_WidgetPoint2D::PartSet_WidgetPoint2D(QWidget* theParent,
 
   // the control should accept the focus, so the boolean flag is corrected to be true
   myIsObligatory = true;
-  //myOptionParam = theData->getProperty(PREVIOUS_FEATURE_PARAM);
   QString aPageName = QString::fromStdString(theData->getProperty(CONTAINER_PAGE_NAME));
   myGroupBox = new QGroupBox(aPageName, theParent);
   myGroupBox->setFlat(false);
index 3c0f8c3604bb265a7558a22285ffd84332ecb218..6992569bac26f75f47eff989b7f27362d5a85fad 100755 (executable)
@@ -199,8 +199,6 @@ private:
   ModuleBase_ParamSpinBox* myXSpin;  ///< the spin box for the X coordinate
   ModuleBase_ParamSpinBox* myYSpin;  ///< the spin box for the Y coordinate
 
-  //std::string myOptionParam;  /// Parameter name which has to be taken from previous feature
-
   CompositeFeaturePtr mySketch;
 
   bool myValueIsCashed; /// boolean state if the value is cashed during value state change
index 96b230b55211f453ede4edfac9424c418e5a797f..7c4a4877b1f955bf94d5d9105c3d5b5c8d54c56d 100644 (file)
@@ -26,7 +26,7 @@
       
       <!-- SketchLine -->
       <feature id="SketchLine" title="Line" tooltip="Create line" icon="icons/Sketch/line.png">
-        <sketch-2dpoint_selector id="StartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates" previous_feature_param="EndPoint"/>
+        <sketch-2dpoint_selector id="StartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates"/>
         <sketch-2dpoint_selector id="EndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"/>
         <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
         <validator id="GeomValidators_Different" parameters="StartPoint,EndPoint"/>