Salome HOME
projects
/
plugins
/
gmshplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12643bc
)
#30450 [CEA][Windows][Forum] SHAPER activation after GMSHPLUGIN call
V9_9_1b1
author
rnv
<rnv@opencascade.com>
Tue, 2 Aug 2022 09:16:59 +0000
(12:16 +0300)
committer
rnv
<rnv@opencascade.com>
Tue, 2 Aug 2022 09:16:59 +0000
(12:16 +0300)
src/GMSHPlugin/GMSHPlugin_Mesher.cxx
patch
|
blob
|
history
diff --git
a/src/GMSHPlugin/GMSHPlugin_Mesher.cxx
b/src/GMSHPlugin/GMSHPlugin_Mesher.cxx
index 7fb7e56ff1e7dc9b89ce943eb03e9a76baf434f4..c2014cdc58d6ca9d4a90056a0e9a8a968ec03ca9 100644
(file)
--- a/
src/GMSHPlugin/GMSHPlugin_Mesher.cxx
+++ b/
src/GMSHPlugin/GMSHPlugin_Mesher.cxx
@@
-1098,7
+1098,9
@@
bool GMSHPlugin_Mesher::Compute()
#if GMSH_MAJOR_VERSION >=4 && GMSH_MINOR_VERSION >=8
SetMaxThreadsGmsh();
#endif
- GmshInitialize();
+ //RNV: to avoid modification of PATH and PYTHONPATH
+ char* argv[] = {"-noenv"};
+ GmshInitialize(1,argv);
SetGmshOptions();
_gModel = new GModel();
mymsg msg(_gModel);