Mantis issue 0021706: [CEA 578] Python access to BrepTools::Read

This commit is contained in:
jfa 2012-10-04 06:34:35 +00:00
parent 39e0fe04d9
commit 72423aa832

View File

@ -615,7 +615,10 @@ Handle(GEOM_Object) GEOMImpl_IInsertOperations::RestoreShape (std::istringstream
//Special dump to avoid restored shapes publication. //Special dump to avoid restored shapes publication.
//See correcponding code in GEOM_Engine.cxx (method ProcessFunction) //See correcponding code in GEOM_Engine.cxx (method ProcessFunction)
GEOM::TPythonDump(aFunction) << "#"; //GEOM::TPythonDump(aFunction) << "#";
GEOM::TPythonDump(aFunction) << result
<< " = geompy.RestoreShape(\"\") # the shape string has not been dump for performance reason";
SetErrorCode(OK); SetErrorCode(OK);