Salome HOME
Issue #2092: Middle constraint not removed when creating a fillet
[modules/shaper.git] / src / Model / Model_AttributeDoubleArray.cpp
index 3a6b2ad9f9f27a53e8175afe9fb4e81e7a327b86..fd1e4dfdc3455982f9e49ba7e67fdd4ab5af5a7f 100644 (file)
@@ -71,6 +71,11 @@ double Model_AttributeDoubleArray::value(const int theIndex)
 Model_AttributeDoubleArray::Model_AttributeDoubleArray(TDF_Label& theLabel)
 {
   myLab = theLabel;
+  reinit();
+}
+
+void Model_AttributeDoubleArray::reinit()
+{
   // check the attribute could be already presented in this doc (after load document)
   myIsInitialized =
     myLab.FindAttribute(TDataStd_RealArray::GetID(), myArray) == Standard_True;