]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_AttributeDocRef.cpp
Salome HOME
Issue #2971: Naming issue in a group when loading a dump file
[modules/shaper.git] / src / Model / Model_AttributeDocRef.cpp
index d57938e8034ad675b6bcda77685fc7476f0f960e..2b8c4091a7e6862962283c1b17d93c0b1ac17f22 100644 (file)
@@ -46,6 +46,7 @@ Model_AttributeDocRef::Model_AttributeDocRef(TDF_Label& theLabel)
   if (!myIsInitialized) {
     int aNewID = Model_Application::getApplication()->generateDocumentId();
     myID = TDataStd_Integer::Set(theLabel, aNewID);
+    myIsInitialized = true;
   }
 }