]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug12344
authorapo <apo@opencascade.com>
Thu, 4 May 2006 14:30:07 +0000 (14:30 +0000)
committerapo <apo@opencascade.com>
Thu, 4 May 2006 14:30:07 +0000 (14:30 +0000)
   "VISU_Example_04.py" raises error during execution.

src/VISU_SWIG/VISU_Example_04.py
src/VISU_SWIG/visu_view3d.py

index d7fef158d4b3e76735a6431b7efc54b26b43cacc..d7723f8ecabf11eaa9fe8da6d9fbc9dcdbf2b3a6 100644 (file)
@@ -255,7 +255,7 @@ myResult = myVisu.ImportFile(medFile)
 anAnim = myVisu.CreateAnimation(myView);
 aSObj = myStudy.FindObjectIOR(myResult.GetID())
 aSObj = aSObj.FindSubObject(1)[1]
-aSObj = aSObj.FindSubObject(2)[1]
+aSObj = aSObj.FindSubObject(3)[1]
 aSObj = aSObj.FindSubObject(2)[1]
 anAnim.addField(aSObj)
 anAnim.setPresentationType(0,VISU.TISOSURFACE)
index d1bf0721b70f110c225c02e0c58b47da5cfbc9e4..0c8470377a3ee8480d9a14a1ce9ec75418f1a87d 100644 (file)
@@ -253,7 +253,7 @@ myResult = myVisu.ImportFile(medFile)
 anAnim = myVisu.CreateAnimation(myView);
 aSObj = myStudy.FindObjectIOR(myResult.GetID())
 aSObj = aSObj.FindSubObject(1)[1]
-aSObj = aSObj.FindSubObject(2)[1]
+aSObj = aSObj.FindSubObject(3)[1]
 aSObj = aSObj.FindSubObject(2)[1]
 anAnim.addField(aSObj)
 anAnim.setPresentationType(0,VISU.TISOSURFACE)