From: srn Date: Fri, 18 Mar 2005 14:16:13 +0000 (+0000) Subject: Added initialization of geompy in method RebuidData (DumpPython) X-Git-Tag: T_22_03_05~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eab535b5f3f7fc5955497b84a451fc9f1afe2275;p=modules%2Fgeom.git Added initialization of geompy in method RebuidData (DumpPython) --- 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;