From: apo Date: Thu, 14 Jun 2007 06:53:24 +0000 (+0000) Subject: Fix for Bug IPAL16157 X-Git-Tag: Before_Merging_With_Windows_20jun07~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5bfb29d42943901dd7bb4230c9804e15fbe52262;p=modules%2Fvisu.git Fix for Bug IPAL16157 - 4.0 To update "VISU_Example_01.py". --- diff --git a/src/VISU_SWIG/VISU_Example_01.py b/src/VISU_SWIG/VISU_Example_01.py index 04d1f8d5..159ebdf4 100644 --- a/src/VISU_SWIG/VISU_Example_01.py +++ b/src/VISU_SWIG/VISU_Example_01.py @@ -103,7 +103,7 @@ print "Creating Scalar Map On Deformed Shape.......", scalarmapondefshape = myVisu.ScalarMapOnDeformedShapeOnField(myResult,myMeshName,myNodeEntity,'vitesse',1); if scalarmapondefshape is None : print "Error" else : print "OK" -scalarmapondefshape.SetScalarField(myMeshName,'pression',2,myCellEntity); +scalarmapondefshape.SetScalarField(myCellEntity,'pression',2); myView.DisplayOnly(scalarmapondefshape) #%====================Stage4: Opening a new study and Med file import====================%