]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Feature 0016551: EDF PAL 501: To add a second trihedron always visible and with const...
authorouv <ouv@opencascade.com>
Wed, 30 Jul 2008 12:05:04 +0000 (12:05 +0000)
committerouv <ouv@opencascade.com>
Wed, 30 Jul 2008 12:05:04 +0000 (12:05 +0000)
bin/setenv.py

index 4d06f38853e119fc4a4bdc4dc1c05828945b7c01..052e4d2e6e8c2495c90f2267f3c6d126bacf0985 100755 (executable)
@@ -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"