From 93b7802630fe6f078224b823b7f8ff0f8a71688e Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Fri, 1 Jul 2016 14:59:05 +0200 Subject: [PATCH] remove dump instruction geompy.RestoreShape("") to avoid problems in HYDRO module --- src/GEOMImpl/GEOMImpl_IInsertOperations.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.2