From: nds Date: Thu, 12 Nov 2015 10:29:02 +0000 (+0300) Subject: Undoes temporary modifications. X-Git-Tag: V_2.0.0_alfa2~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b5e862b69cef5c4832c07b0df3448554a59555c0;p=modules%2Fshaper.git Undoes temporary modifications. --- diff --git a/src/SketchPlugin/SketchPlugin_Point.cpp b/src/SketchPlugin/SketchPlugin_Point.cpp index 9639cb6bc..cf718db76 100644 --- a/src/SketchPlugin/SketchPlugin_Point.cpp +++ b/src/SketchPlugin/SketchPlugin_Point.cpp @@ -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()); } diff --git a/src/SketchPlugin/SketchPlugin_Point.h b/src/SketchPlugin/SketchPlugin_Point.h index 88afb276d..59995ff43 100644 --- a/src/SketchPlugin/SketchPlugin_Point.h +++ b/src/SketchPlugin/SketchPlugin_Point.h @@ -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() { diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index d10c08479..a1986c159 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -20,7 +20,6 @@ -