Salome HOME
Fix for the issue #2274: closing the study takes too much time.
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MacroCircle.cpp
index 7c87681327cbb1a8398b22d461b4de1b1a293c07..2b6829c729a7f62aa6058e1698f71e9dd6e1ad25 100644 (file)
@@ -392,6 +392,7 @@ AISObjectPtr SketchPlugin_MacroCircle::getAISObject(AISObjectPtr thePrevious)
 }
 
 void SketchPlugin_MacroCircle::attributeChanged(const std::string& theID) {
+  double aRadius = 0.0;
   // If circle type switched reset all attributes.
   if(theID == CIRCLE_TYPE()) {
     SketchPlugin_Tools::resetAttribute(this, CENTER_POINT_ID());