X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2F3D_viewer%2FB0.py;h=9473314e3710106214c3b4fbf2c72ad3f794baee;hb=e32938b374fc9583c1dc3a69a3b3ec23e7c49b3e;hp=e7adc123d30601d6088eec90f86eceff2abc707a;hpb=89c33033151baa33eeac8fb09d9c0488acb43c35;p=modules%2Fparavis.git diff --git a/test/VisuPrs/3D_viewer/B0.py b/test/VisuPrs/3D_viewer/B0.py index e7adc123..9473314e 100644 --- a/test/VisuPrs/3D_viewer/B0.py +++ b/test/VisuPrs/3D_viewer/B0.py @@ -1,9 +1,9 @@ -# Copyright (C) 2010-2012 CEA/DEN, EDF R&D +# Copyright (C) 2010-2014 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 # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -28,7 +28,7 @@ import paravis import time # Directory for saving snapshots -picturedir = get_picture_dir(sys.argv[1], "3D_viewer/B0") +picturedir = get_picture_dir("3D_viewer/B0") # Add path separator to the end of picture path if necessery if not picturedir.endswith(os.sep): @@ -67,7 +67,7 @@ shrinked_sm = None field_name = 'VITESSE' print "\nCreating scalar map.......", -scalar_map = ScalarMapOnField(proxy, EntityType.CELL, field_name, 1) +scalar_map = ScalarMapOnField(proxy, EntityType.NODE, field_name, 1) if scalar_map is None: raise RuntimeError("Error!!! Presentation wasn't created...")