Salome HOME
Issue #2024: Redesign of circle and arc of circle
[modules/shaper.git] / src / Model / Model_AttributeDouble.cpp
index 4efa7bedc3a244432963aa536f4e794ab4f5c01b..1e942faa6b8c630ff30390e8c75b2b5c672bb55e 100644 (file)
@@ -24,6 +24,12 @@ void Model_AttributeDouble::reinit()
   myIsInitialized = myExpression->isInitialized();
 }
 
+void Model_AttributeDouble::reset()
+{
+  myExpression->reset();
+  myIsInitialized = false;
+}
+
 void Model_AttributeDouble::setCalculatedValue(const double theValue)
 {
   if (!myIsInitialized || value() != theValue) {