From 72423aa83291fbebcf506215033c91ae132d0fcb Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 4 Oct 2012 06:34:35 +0000 Subject: [PATCH] Mantis issue 0021706: [CEA 578] Python access to BrepTools::Read --- src/GEOMImpl/GEOMImpl_IInsertOperations.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.2