From: Paul RASCLE Date: Fri, 1 Jul 2016 12:59:05 +0000 (+0200) Subject: remove dump instruction geompy.RestoreShape("") to avoid problems in HYDRO module X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93b7802630fe6f078224b823b7f8ff0f8a71688e;p=modules%2Fgeom.git remove dump instruction geompy.RestoreShape("") to avoid problems in HYDRO module --- diff --git a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx index 501e9da76..45d74418a 100644 --- a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx @@ -234,11 +234,11 @@ Handle(GEOM_Object) GEOMImpl_IInsertOperations::RestoreShape (std::istringstream aFunction->SetValue(aShape); //Special dump to avoid restored shapes publication. - //See correcponding code in GEOM_Engine.cxx (method ProcessFunction) - //GEOM::TPythonDump(aFunction) << "#"; + //See corresponding code in GEOM_Engine.cxx (method ProcessFunction) + GEOM::TPythonDump(aFunction) << "#"; - GEOM::TPythonDump(aFunction) << result - << " = geompy.RestoreShape(\"\") # the shape string has not been dump for performance reason"; +// GEOM::TPythonDump(aFunction) << result +// << " = geompy.RestoreShape(\"\") # the shape string has not been dump for performance reason"; SetErrorCode(OK);