From 50e09dbc332f01cdc2e9cfbe883a107977acad23 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 30 Jul 2008 12:05:04 +0000 Subject: [PATCH] Feature 0016551: EDF PAL 501: To add a second trihedron always visible and with constant size --- bin/setenv.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/setenv.py b/bin/setenv.py index 4d06f3885..052e4d2e6 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -262,6 +262,13 @@ def set_env(args, modules_list, modules_root_dir, silent=False): = os.path.join(modules_root_dir["KERNEL"],"share", salome_subdir,"resources","kernel") + if sys.platform == 'win32': + graphicShr = "OCCViewer.dll" + else: + graphicShr = "libOCCViewer.so" + os.environ["CSF_GraphicShr"] \ + = os.path.join(modules_root_dir["GUI"],"lib","salome",graphicShr) + if "GEOM" in modules_list: if verbose() and not silent: print "GEOM OCAF Resources" -- 2.39.2