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

src/VISU_SWIG/batchmode_visu_view3d.py

index f51543552419a4b48e9657aa1dcd626a10ba87ae..cc4778d56351135d95490226a8204a1e1414aa63 100644 (file)
@@ -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)