mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Fix error with GetExistingSubObjects
This commit is contained in:
parent
70bfb7fe11
commit
c68152cd01
@ -937,7 +937,7 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::GetExistingSubO
|
||||
GEOM::TPythonDump pd (aMainShape, /*append=*/true);
|
||||
pd << "[" << anAsciiList.ToCString();
|
||||
pd << "] = geompy.GetExistingSubObjects(";
|
||||
pd << theShape << ", " << (int)theGroupsOnly << ")";
|
||||
pd << theShape << ", " << (bool)theGroupsOnly << ")";
|
||||
|
||||
SetErrorCode(OK);
|
||||
|
||||
@ -1031,6 +1031,9 @@ Handle(TColStd_HSequenceOfTransient) GEOMImpl_IShapesOperations::MakeExplode
|
||||
// because GEOM_SubShapeDriver will build TopTools_IndexedMapOfShape
|
||||
// on the main shape for each being calculated sub-shape separately.
|
||||
aFunction->SetValue(aValue);
|
||||
|
||||
// Put this subshape in the list of subshapes of theMainShape
|
||||
aMainShape->AddSubShapeReference(aFunction);
|
||||
}
|
||||
|
||||
if (!anObj.IsNull()) {
|
||||
|
Loading…
Reference in New Issue
Block a user