Salome HOME
Copyright update 2022
[modules/paravis.git] / bin / paravis_test.py
index d4349fd843a92ed712bf6c0d86423915e7246cf1..1e8e81e984d5003171f44cb7f5c840e4834daee9 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2018-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2022  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -106,7 +106,7 @@ class TestParavis(unittest.TestCase):
             self.assertIsNotNone(glyph)
             glyph.OrientationArray = ['POINTS', 'vitesse_3c']
             glyph.ScaleArray = ['POINTS', 'No scale array']
-            glyph.MaximumGlyphSize = 0.01
+            glyph.ScaleFactor = 0.01
             vectors = pvs.Show(glyph, view)
             self.assertIsNotNone(vectors)
             vectors.Representation = 'Surface'