Salome HOME
23437: EDF 14551 - mesh groups missing
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i_1.cxx
index 0ae5198..b08b7e3 100644 (file)
@@ -277,6 +277,10 @@ static SALOMEDS::SObject_ptr publish(SALOMEDS::Study_ptr   theStudy,
       SO = aStudyBuilder->NewObjectToTag( theFatherObject, theTag );
       isNewSO = true;
     }
+    else
+    {
+      isInUseCaseTree = useCaseBuilder->IsUseCaseNode( SO );
+    }
   }
   else
   {