From 072e81be8f5262c20f295437b1aed9539a7ff4c2 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 11 Jun 2020 16:44:32 +0300 Subject: [PATCH] Fix for the issue when the SHAPER module data model was not correctly initialized after a first activation/deactivation, close study and load script. --- src/KERNEL_PY/salome_iapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2