From c3266228983c584a68332970548bf37772eed5ab Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 5 May 2006 06:09:28 +0000 Subject: [PATCH] Fix for Bug12344 "VISU_Example_04.py" raises error during execution. --- src/VISU_SWIG/batchmode_visu_view3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISU_SWIG/batchmode_visu_view3d.py b/src/VISU_SWIG/batchmode_visu_view3d.py index f5154355..cc4778d5 100644 --- a/src/VISU_SWIG/batchmode_visu_view3d.py +++ b/src/VISU_SWIG/batchmode_visu_view3d.py @@ -246,7 +246,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) -- 2.39.2