]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
remove dump instruction geompy.RestoreShape("") to avoid problems in HYDRO module V7_dev
authorPaul RASCLE <paul.rascle@edf.fr>
Fri, 1 Jul 2016 12:59:05 +0000 (14:59 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Fri, 1 Jul 2016 12:59:05 +0000 (14:59 +0200)
src/GEOMImpl/GEOMImpl_IInsertOperations.cxx

index 501e9da763199b2dbf81516df8d8a738756b310d..45d74418adfa093bbef4b634198884bdcd8c8a55 100644 (file)
@@ -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);