X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2F3D_viewer%2FA1.py;h=a97335df30977372c09491fc6266e1690fc997fc;hb=f97aa0a72a48a5411faa8d0defd3cf4b54f4c305;hp=a0e64f75aebe207dd8eaaad6f92deef2a8d8c379;hpb=c7c9039d845fb2a5e2eb391139af089b4bed26a5;p=modules%2Fparavis.git diff --git a/test/VisuPrs/3D_viewer/A1.py b/test/VisuPrs/3D_viewer/A1.py index a0e64f75..a97335df 100644 --- a/test/VisuPrs/3D_viewer/A1.py +++ b/test/VisuPrs/3D_viewer/A1.py @@ -1,9 +1,9 @@ -# Copyright (C) 2010-2013 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/A1") +picturedir = get_picture_dir("3D_viewer/A1") # Add path separator to the end of picture path if necessery if not picturedir.endswith(os.sep): @@ -68,7 +68,7 @@ field_name = 'VITESSE' my_view = GetRenderView() print "\nCreating plot3d.......", -plot3d = Plot3DOnField(proxy, EntityType.CELL, field_name, 1) +plot3d = Plot3DOnField(proxy, EntityType.NODE, field_name, 1) if plot3d is None: raise RuntimeError("Error!!! Presentation wasn't created...")