From: mpv Date: Thu, 11 Jun 2020 13:44:32 +0000 (+0300) Subject: Fix for the issue when the SHAPER module data model was not correctly initialized... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fmpv%2Fload_module_exprm2;p=modules%2Fkernel.git Fix for the issue when the SHAPER module data model was not correctly initialized after a first activation/deactivation, close study and load script. --- diff --git a/src/KERNEL_PY/salome_iapp.py b/src/KERNEL_PY/salome_iapp.py index 9a2e87e8a..6be459cb1 100644 --- a/src/KERNEL_PY/salome_iapp.py +++ b/src/KERNEL_PY/salome_iapp.py @@ -186,7 +186,7 @@ def salome_iapp_close(): pass -def load_module(name, syncCall=True): +def register_module_in_study(name, syncCall=True): try: import salome salome.salome_init()