]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL16157
authorapo <apo@opencascade.com>
Thu, 14 Jun 2007 06:53:24 +0000 (06:53 +0000)
committerapo <apo@opencascade.com>
Thu, 14 Jun 2007 06:53:24 +0000 (06:53 +0000)
 - 4.0 To update "VISU_Example_01.py".

src/VISU_SWIG/VISU_Example_01.py

index 04d1f8d5fb07fece6d23c079004ecf113ff96a93..159ebdf4ccf6041fde62b92b99e960e284491bc7 100644 (file)
@@ -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====================%