X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test%2FVisuPrs%2F3D_viewer%2FB2.py;h=db1dfcd930362fa78e805d8aabffe6ad5c102c43;hb=937b15c6a43ec7efea52bd90272e2e35d89ab37b;hp=376c25b9300c3da05e6029cff46ecc9c5f6ffbd9;hpb=89c33033151baa33eeac8fb09d9c0488acb43c35;p=modules%2Fparavis.git diff --git a/test/VisuPrs/3D_viewer/B2.py b/test/VisuPrs/3D_viewer/B2.py index 376c25b9..db1dfcd9 100644 --- a/test/VisuPrs/3D_viewer/B2.py +++ b/test/VisuPrs/3D_viewer/B2.py @@ -1,9 +1,9 @@ -# Copyright (C) 2010-2012 CEA/DEN, EDF R&D +# Copyright (C) 2010-2016 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 @@ -26,19 +26,14 @@ import time from paravistest import * from presentations import * from pvsimple import * -import paravis - # Directory for saving snapshots -picturedir = get_picture_dir(sys.argv[1], "3D_viewer/B2") +picturedir = get_picture_dir("3D_viewer/B2") # Add path separator to the end of picture path if necessery if not picturedir.endswith(os.sep): picturedir += os.sep -#import file -myParavis = paravis.myParavis - # Get view my_view = GetRenderView() reset_view(my_view)