mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-21 00:09:42 +05:00
18509
This commit is contained in:
parent
c150946a99
commit
afbca35bdd
@ -1088,12 +1088,14 @@ void GEOMBase_Helper::addSubshapesToFather( QMap<QString, GEOM::GEOM_Object_var>
|
||||
{
|
||||
if ( !anOp->_is_nil() ) {
|
||||
GEOM::GEOM_Object_var aFatherObj = anOp->GetMainShape( it.data() );
|
||||
if ( !aFatherObj->_is_nil() ) {
|
||||
GEOM::GEOM_Object_var aFindedObject = findObjectInFather(aFatherObj, it.key() );
|
||||
|
||||
//Add Object to study if its not exist
|
||||
if ( aFindedObject == GEOM::GEOM_Object::_nil() )
|
||||
GeometryGUI::GetGeomGen()->AddInStudy(GeometryGUI::ClientStudyToStudy(aDStudy),
|
||||
it.data(), it.key(), aFatherObj );
|
||||
}
|
||||
}
|
||||
else {
|
||||
//cout << " anOperations is NULL! " << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user