Salome HOME
Bug 0020413: Dump file has many GetMainShape instructions.
authorjfa <jfa@opencascade.com>
Thu, 2 Jul 2009 14:08:36 +0000 (14:08 +0000)
committerjfa <jfa@opencascade.com>
Thu, 2 Jul 2009 14:08:36 +0000 (14:08 +0000)
src/GEOMImpl/GEOMImpl_IGroupOperations.cxx

index 1c0a5c1e6617bcc44c5636fe39789e92df6a8a25..b9734d9c4c14c90770c285bcc62edc4bc1d5fd65 100644 (file)
@@ -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 <Standard_Stream.hxx>
 
 #include <GEOMImpl_IGroupOperations.hxx>
@@ -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;