From: srn Date: Thu, 1 Nov 2007 11:39:02 +0000 (+0000) Subject: Modified to assign CSF_PluginDefaults only for GEOM X-Git-Tag: V4_1_0a3~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=670ead37c532e26eb3c9fca9baf2d98cb467ddd5;p=modules%2Fkernel.git Modified to assign CSF_PluginDefaults only for GEOM --- diff --git a/bin/setenv.py b/bin/setenv.py index 955e43ae3..5ee55b7d9 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -264,18 +264,16 @@ def set_env(args, modules_list, modules_root_dir): #if os.getenv("GUI_ROOT_DIR"): #if not os.getenv("SalomeAppConfig"): os.environ["SalomeAppConfig"] = os.getenv("GUI_ROOT_DIR") + "/share/salome/resources/gui" - # set CSF_PluginDefaults variable only if it is not customized - # by the user - if not os.getenv("CSF_PluginDefaults"): - os.environ["CSF_PluginDefaults"] \ - = os.path.join(modules_root_dir["KERNEL"],"share", - salome_subdir,"resources","kernel") os.environ["CSF_SALOMEDS_ResourcesDefaults"] \ = os.path.join(modules_root_dir["KERNEL"],"share", salome_subdir,"resources","kernel") if "GEOM" in modules_list: if verbose(): print "GEOM OCAF Resources" + + # set CSF_PluginDefaults variable only if it is not customized + # by the user + if not os.getenv("CSF_PluginDefaults"): os.environ["CSF_PluginDefaults"] \ = os.path.join(modules_root_dir["GEOM"],"share",