]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix the "0022871: EDF 10092 PARAVIS : The macro modes is not displayed properly"...
authorrnv <rnv@opencascade.com>
Fri, 27 Mar 2015 13:31:11 +0000 (16:31 +0300)
committerrnv <rnv@opencascade.com>
Fri, 27 Mar 2015 13:31:11 +0000 (16:31 +0300)
src/Macro/modes.py

index 70e86dfa86680b8f2849d5b6aa18af48ebb4c1a8..4c1b13b5aeaf353cfee8dc806537388bbfabd00f 100644 (file)
@@ -97,5 +97,6 @@ else :
     pvLookupTable = GetLookupTableForArray( rootname, 3, VectorMode='Magnitude' )
     WarpByVectorDataRepresentation.ColorArrayName = rootname
     WarpByVectorDataRepresentation.LookupTable = pvLookupTable
-  
+    WarpByVectorDataRepresentation.RescaleTransferFunctionToDataRange(True)
+
   AnimationScene1.Play()