remove dump instruction geompy.RestoreShape("") to avoid problems in HYDRO module

This commit is contained in:
Paul RASCLE 2016-07-01 14:59:05 +02:00
parent 683b11f015
commit 93b7802630

View 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);