mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30:35 +05:00
Placed a check if any function is added in GetFreeBoundaries operation
This commit is contained in:
parent
fa5a40f774
commit
3a675cc5c0
@ -719,6 +719,8 @@ bool GEOMImpl_IHealingOperations::GetFreeBoundary (Handle(GEOM_Object) theObject
|
|||||||
theOpen->Append(anObj);
|
theOpen->Append(anObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!aFunction.IsNull()) {
|
||||||
|
|
||||||
//Make a Python command
|
//Make a Python command
|
||||||
GEOM::TPythonDump pd (aFunction);
|
GEOM::TPythonDump pd (aFunction);
|
||||||
|
|
||||||
@ -747,6 +749,7 @@ bool GEOMImpl_IHealingOperations::GetFreeBoundary (Handle(GEOM_Object) theObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
pd << ") = geompy.GetFreeBoundary(" << theObject << ")";
|
pd << ") = geompy.GetFreeBoundary(" << theObject << ")";
|
||||||
|
}
|
||||||
|
|
||||||
SetErrorCode(OK);
|
SetErrorCode(OK);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user