From: jfa Date: Thu, 2 Jul 2009 07:12:09 +0000 (+0000) Subject: Bug 0020413: Dump file has many GetMainShape instructions. X-Git-Tag: V5_1_3rc1~78 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=958791a2772b4ae4297c7b546a91a52e93d57d41;p=modules%2Fgeom.git Bug 0020413: Dump file has many GetMainShape instructions. --- diff --git a/src/GEOMImpl/GEOMImpl_IGroupOperations.cxx b/src/GEOMImpl/GEOMImpl_IGroupOperations.cxx index 1c0a5c1e6..b9734d9c4 100644 --- a/src/GEOMImpl/GEOMImpl_IGroupOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IGroupOperations.cxx @@ -18,7 +18,7 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// + #include #include @@ -733,8 +733,8 @@ Handle(GEOM_Object) GEOMImpl_IGroupOperations::GetMainShape (Handle(GEOM_Object) if (aMainShape.IsNull()) return NULL; //Make a Python command - GEOM::TPythonDump(aGroupFunction, /*append=*/true) - << aMainShape << " = geompy.GetMainShape(" << theGroup << ")"; + //GEOM::TPythonDump(aGroupFunction, /*append=*/true) + // << aMainShape << " = geompy.GetMainShape(" << theGroup << ")"; SetErrorCode(OK); return aMainShape;