From: nri Date: Thu, 17 Jul 2003 18:06:40 +0000 (+0000) Subject: NRI : Correction. X-Git-Tag: V_02092003~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7887c178d2ff8beec29276bc486d684704d9f4f7;p=modules%2Fvisu.git NRI : Correction. --- diff --git a/src/VISU_SWIG/visu.py b/src/VISU_SWIG/visu.py index 7401f121..6792da63 100644 --- a/src/VISU_SWIG/visu.py +++ b/src/VISU_SWIG/visu.py @@ -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