mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-18 17:30:37 +05:00
Bug 0020413: Dump file has many GetMainShape instructions.
This commit is contained in:
parent
1190c163f3
commit
958791a277
@ -18,7 +18,7 @@
|
|||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
|
||||||
#include <Standard_Stream.hxx>
|
#include <Standard_Stream.hxx>
|
||||||
|
|
||||||
#include <GEOMImpl_IGroupOperations.hxx>
|
#include <GEOMImpl_IGroupOperations.hxx>
|
||||||
@ -733,8 +733,8 @@ Handle(GEOM_Object) GEOMImpl_IGroupOperations::GetMainShape (Handle(GEOM_Object)
|
|||||||
if (aMainShape.IsNull()) return NULL;
|
if (aMainShape.IsNull()) return NULL;
|
||||||
|
|
||||||
//Make a Python command
|
//Make a Python command
|
||||||
GEOM::TPythonDump(aGroupFunction, /*append=*/true)
|
//GEOM::TPythonDump(aGroupFunction, /*append=*/true)
|
||||||
<< aMainShape << " = geompy.GetMainShape(" << theGroup << ")";
|
// << aMainShape << " = geompy.GetMainShape(" << theGroup << ")";
|
||||||
|
|
||||||
SetErrorCode(OK);
|
SetErrorCode(OK);
|
||||||
return aMainShape;
|
return aMainShape;
|
||||||
|
Loading…
Reference in New Issue
Block a user