mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-25 04:40:33 +05:00
Fix the case 2 (references) of 0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree
This commit is contained in:
parent
e7b562779c
commit
c03d610043
@ -806,6 +806,7 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::AddInStudy (SALOMEDS::Study_ptr theStudy,
|
|||||||
aPrevID = anID.in();
|
aPrevID = anID.in();
|
||||||
SALOMEDS::SObject_wrap aSubSO = aStudyBuilder->NewObject(aResultSO);
|
SALOMEDS::SObject_wrap aSubSO = aStudyBuilder->NewObject(aResultSO);
|
||||||
aStudyBuilder->Addreference(aSubSO, aSO);
|
aStudyBuilder->Addreference(aSubSO, aSO);
|
||||||
|
theStudy->GetUseCaseBuilder()->AppendTo( aResultSO, aSubSO );
|
||||||
}
|
}
|
||||||
|
|
||||||
return aResultSO._retn();
|
return aResultSO._retn();
|
||||||
|
Loading…
Reference in New Issue
Block a user