Salome HOME
Constuction sketch entity attribute.
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Circle.cpp
index e880df9afc2f7e47e06ddb185ae6ea4ce449c4ca..50b387414b82402e10bec366908b2d2d856f24fa 100644 (file)
 #include <GeomAlgoAPI_CompoundBuilder.h>
 
 SketchPlugin_Circle::SketchPlugin_Circle()
-    : SketchPlugin_Feature()
+    : SketchPlugin_SketchEntity()
 {
 }
 
 void SketchPlugin_Circle::initAttributes()
 {
+  SketchPlugin_SketchEntity::initAttributes();
+
   data()->addAttribute(CENTER_ID(), GeomDataAPI_Point2D::type());
   data()->addAttribute(RADIUS_ID(), ModelAPI_AttributeDouble::type());
   data()->addAttribute(EXTERNAL_ID(), ModelAPI_AttributeSelection::type());