]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Undoes temporary modifications.
authornds <nds@opencascade.com>
Thu, 12 Nov 2015 10:29:02 +0000 (13:29 +0300)
committernds <nds@opencascade.com>
Thu, 12 Nov 2015 10:29:02 +0000 (13:29 +0300)
src/SketchPlugin/SketchPlugin_Point.cpp
src/SketchPlugin/SketchPlugin_Point.h
src/SketchPlugin/plugin-Sketch.xml

index 9639cb6bca03cf19b4a403c9e82c89bd2cdaa4b3..cf718db760dd812324db95cf16a10a297494b29b 100644 (file)
@@ -30,9 +30,6 @@ void SketchPlugin_Point::initAttributes()
   SketchPlugin_SketchEntity::initAttributes();
 
   data()->addAttribute(SketchPlugin_Point::COORD_ID(), GeomDataAPI_Point2D::typeId());
-
-  data()->addAttribute(SketchPlugin_Point::TABLE_ID(), GeomDataAPI_Point2D::typeId());
-
   data()->addAttribute(EXTERNAL_ID(), ModelAPI_AttributeSelection::typeId());
   ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), EXTERNAL_ID());
 }
index 88afb276d80b587ab66629cef9debf1c66d7de5b..59995ff4310aeb44edc72c2f950f4d3e09c0c119 100644 (file)
@@ -31,13 +31,6 @@ class SketchPlugin_Point : public SketchPlugin_SketchEntity
     static const std::string MY_COORD_ID("PointCoordindates");
     return MY_COORD_ID;
   }
-  /// Coordinates of the point
-  inline static const std::string& TABLE_ID()
-  {
-    static const std::string MY_TABLE_ID("TableValue");
-    return MY_TABLE_ID;
-  }
-
   /// Returns the kind of a feature
   SKETCHPLUGIN_EXPORT virtual const std::string& getKind()
   {
index d10c08479fe0ca2c7f7ad5eac6b9d89dc2fc669e..a1986c159bced41d5679d563f392655c91257338 100644 (file)
@@ -20,7 +20,6 @@
       <feature id="SketchPoint" title="Point" tooltip="Create point" icon=":icons/point.png">
         <sketch-2dpoint_selector id="PointCoordindates" title="Point" tooltip="Point coordinates"/>
         <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
-        <tablevalue id="TableValue"/>
       </feature>
       <feature id="SketchLine" title="Line" tooltip="Create line" icon=":icons/line.png">
         <sketch-2dpoint_selector id="StartPoint" title="Start point" tooltip="Start point coordinates" previous_feature_param="EndPoint"/>