mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Patch to fix build issues do to sphinx importing python modules and causing SIGSEGV
This commit is contained in:
parent
2e6e46ed60
commit
4f7b0accea
@ -27,10 +27,9 @@ import salome
|
|||||||
SMESH = None # SMESH module is loaded only when needed
|
SMESH = None # SMESH module is loaded only when needed
|
||||||
|
|
||||||
from salome.kernel.studyedit import getStudyEditor
|
from salome.kernel.studyedit import getStudyEditor
|
||||||
try:
|
from salome.kernel.deprecation import is_called_by_sphinx
|
||||||
from salome.gui import helper
|
if not is_called_by_sphinx():
|
||||||
except ImportError:
|
from salome.gui import helper
|
||||||
pass
|
|
||||||
|
|
||||||
class SMeshStudyTools:
|
class SMeshStudyTools:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user