Salome HOME
Set dev version marker to 1.
[modules/paravis.git] / test / VisuPrs / 3D_viewer / B2.py
index 376c25b9300c3da05e6029cff46ecc9c5f6ffbd9..db1dfcd930362fa78e805d8aabffe6ad5c102c43 100644 (file)
@@ -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)