}
-SketchAPI_MacroEllipse::SketchAPI_MacroEllipse(const std::shared_ptr<ModelAPI_Feature>& theFeature)
+SketchAPI_MacroEllipse::SketchAPI_MacroEllipse(const std::shared_ptr<ModelAPI_Feature>& theFeature,
+ bool callInitialize)
: SketchAPI_SketchEntity(theFeature)
{
- if (initialize())
+ if (callInitialize && initialize())
mySketch = sketch(theFeature);
}