mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-23 14:40:34 +05:00
Mantis issue 0021532: EDF 2202 GEOM: Problem when restoring groups containing a single shape.
This commit is contained in:
parent
10d829dc33
commit
a650ac1733
@ -3933,7 +3933,7 @@ Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetInPlace (Handle(GEOM_Object)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aModifiedArray->Length() > 1) {
|
if (aModifiedArray->Length() > 1 || theShapeWhat->GetType() == GEOM_GROUP) {
|
||||||
//Set a GROUP type
|
//Set a GROUP type
|
||||||
aResult->SetType(GEOM_GROUP);
|
aResult->SetType(GEOM_GROUP);
|
||||||
|
|
||||||
@ -4161,7 +4161,7 @@ Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetInPlaceOld (Handle(GEOM_Objec
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aModifiedArray->Length() > 1) {
|
if (aModifiedArray->Length() > 1 || theShapeWhat->GetType() == GEOM_GROUP) {
|
||||||
//Set a GROUP type
|
//Set a GROUP type
|
||||||
aResult->SetType(GEOM_GROUP);
|
aResult->SetType(GEOM_GROUP);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user