From: jfa Date: Thu, 4 Oct 2012 06:34:35 +0000 (+0000) Subject: Mantis issue 0021706: [CEA 578] Python access to BrepTools::Read X-Git-Tag: V6_6_0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=72423aa83291fbebcf506215033c91ae132d0fcb;p=modules%2Fgeom.git Mantis issue 0021706: [CEA 578] Python access to BrepTools::Read --- diff --git a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx index 45e66e116..6aca179a1 100644 --- a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx @@ -615,7 +615,10 @@ Handle(GEOM_Object) GEOMImpl_IInsertOperations::RestoreShape (std::istringstream //Special dump to avoid restored shapes publication. //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);