]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix the case 2 (references) of 0022317: [CEA 925] GUI: An objet creation by clicking...
authorakl <akl@opencascade.com>
Wed, 11 Sep 2013 12:14:44 +0000 (12:14 +0000)
committerakl <akl@opencascade.com>
Wed, 11 Sep 2013 12:14:44 +0000 (12:14 +0000)
src/GEOM_I/GEOM_Gen_i.cc

index c44b639c70ee2b206a0e1139a517dafb70bec32a..001a989a57d7702cff582230b16a1ff268b42c2e 100644 (file)
@@ -806,6 +806,7 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::AddInStudy (SALOMEDS::Study_ptr theStudy,
     aPrevID = anID.in();
     SALOMEDS::SObject_wrap aSubSO = aStudyBuilder->NewObject(aResultSO);
     aStudyBuilder->Addreference(aSubSO, aSO);
+    theStudy->GetUseCaseBuilder()->AppendTo( aResultSO, aSubSO );
   }
 
   return aResultSO._retn();