Salome HOME
Issue #1169 : support the width of the copied objects on undo/redo and delete
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_SketchEntity.cpp
index f29dfc1391dfe661ce98ec2f780e2107b77a71ed..7f08f44005a96a4098333315f23b101d85064366 100644 (file)
@@ -21,8 +21,4 @@ void SketchPlugin_SketchEntity::initAttributes()
   AttributePtr anAttr = data()->addAttribute(SketchPlugin_SketchEntity::COPY_ID(), ModelAPI_AttributeBoolean::typeId());
   anAttr->setIsArgument(false);
   ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), SketchPlugin_SketchEntity::COPY_ID());
-  AttributeBooleanPtr anAttrBool = std::dynamic_pointer_cast<ModelAPI_AttributeBoolean>(anAttr);
-  if(anAttr.get()) {
-    anAttrBool->setValue(false);
-  }
 }