Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab48765
)
Start of management of foreground in SSL context
agy/29134
author
Anthony Geay
<anthony.geay@edf.fr>
Sat, 19 Feb 2022 06:42:23 +0000
(07:42 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Sat, 19 Feb 2022 06:42:23 +0000
(07:42 +0100)
src/SalomeApp/salome_pluginsmanager.py
patch
|
blob
|
history
diff --git
a/src/SalomeApp/salome_pluginsmanager.py
b/src/SalomeApp/salome_pluginsmanager.py
index 25276d4416e31ba2abbc778779fa1d124aa26d67..94dcfe75d2bce9f7cbf4e9eaf8dacb1324acc2b1 100644
(file)
--- a/
src/SalomeApp/salome_pluginsmanager.py
+++ b/
src/SalomeApp/salome_pluginsmanager.py
@@
-244,8
+244,13
@@
class PluginsManager:
def importPlugins(self):
"""Execute the salome_plugins file that contains plugins definition """
+ ior_fake_ns = None
+ prefix_ior = "--iorfakens="
+ presence_ior = [elt for elt in QApplication.arguments() if elt[:len(prefix_ior)]==prefix_ior]
+ if any(presence_ior):
+ ior_fake_ns = presence_ior[-1][len(prefix_ior):]
if self.lasttime ==0 or salome.myStudy == None:
- salome.salome_init(embedded=True)
+ salome.salome_init(embedded=True
,iorfakensfile=ior_fake_ns
)
lasttime=0