From eab535b5f3f7fc5955497b84a451fc9f1afe2275 Mon Sep 17 00:00:00 2001 From: srn Date: Fri, 18 Mar 2005 14:16:13 +0000 Subject: [PATCH] Added initialization of geompy in method RebuidData (DumpPython) --- src/GEOM/GEOM_Engine.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 52e729de7..07724f7a5 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -366,6 +366,7 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID, aScript = "import geompy\n\n"; aScript += "def RebuildData(theStudy):"; + aScript += "\tgeompy.init_geom(theStudy)"; Handle(TDataStd_TreeNode) aNode, aRoot; Handle(GEOM_Function) aFunction; -- 2.39.2