Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d829d
)
Mantis issue 0021532: EDF 2202 GEOM: Problem when restoring groups containing a singl...
author
jfa
<jfa@opencascade.com>
Wed, 4 Apr 2012 12:15:01 +0000
(12:15 +0000)
committer
jfa
<jfa@opencascade.com>
Wed, 4 Apr 2012 12:15:01 +0000
(12:15 +0000)
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
index cd98b179f14c26a4c8f8f876b7ea62059168ab17..a81ba24644142dd81b9dd402041be28dacf3716f 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
+++ b/
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
@@
-3933,7
+3933,7
@@
Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetInPlace (Handle(GEOM_Object)
return NULL;
}
- if (aModifiedArray->Length() > 1) {
+ if (aModifiedArray->Length() > 1
|| theShapeWhat->GetType() == GEOM_GROUP
) {
//Set a GROUP type
aResult->SetType(GEOM_GROUP);
@@
-4161,7
+4161,7
@@
Handle(GEOM_Object) GEOMImpl_IShapesOperations::GetInPlaceOld (Handle(GEOM_Objec
return NULL;
}
- if (aModifiedArray->Length() > 1) {
+ if (aModifiedArray->Length() > 1
|| theShapeWhat->GetType() == GEOM_GROUP
) {
//Set a GROUP type
aResult->SetType(GEOM_GROUP);