From: ouv Date: Wed, 30 Jul 2008 12:05:04 +0000 (+0000) Subject: Feature 0016551: EDF PAL 501: To add a second trihedron always visible and with const... X-Git-Tag: TG_TRIPOLI_qt4_porting~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=50e09dbc332f01cdc2e9cfbe883a107977acad23;p=modules%2Fkernel.git Feature 0016551: EDF PAL 501: To add a second trihedron always visible and with constant size --- 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"