]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
NRI : Correction.
authornri <nri@opencascade.com>
Thu, 17 Jul 2003 18:06:40 +0000 (18:06 +0000)
committernri <nri@opencascade.com>
Thu, 17 Jul 2003 18:06:40 +0000 (18:06 +0000)
src/VISU_SWIG/visu.py

index 7401f121f64536e675c79c4b077563ff4750f676..6792da63eed50696eb7cd12ec7df1c0a16dfeefa 100644 (file)
@@ -12,6 +12,7 @@ import re
 from time import sleep
 
 import VISU
+import SALOME
 import SALOMEDS
 import SALOME_MED
 from omniORB import CORBA
@@ -44,7 +45,7 @@ def Initialize(theORB, theNamingService, theLifeCycleCORBA, theStudyManager, the
     mySession.GetInterface()
     myDelay = theDelay
     sleep(myDelay)
-    myLocalVisu = myLifeCycleCORBA.FindOrLoadComponent("FactoryServer", "Visu")
+    myLocalVisu = myLifeCycleCORBA.FindOrLoadComponent("FactoryServer", "VISU")
     myLocalStudy = theStudy
     myLocalVisu.SetCurrentStudy(myLocalStudy)
     return myLocalVisu