Salome HOME
23437: EDF 14551 - mesh groups missing
authoreap <eap@opencascade.com>
Mon, 24 Apr 2017 14:24:35 +0000 (17:24 +0300)
committereap <eap@opencascade.com>
Mon, 24 Apr 2017 14:24:35 +0000 (17:24 +0300)
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
   {