]> SALOME platform Git repositories - modules/visu.git/blobdiff - src/VISU_SWIG/visu_view3d_parameters.py
Salome HOME
Merge from V5_1_main 14/05/2010
[modules/visu.git] / src / VISU_SWIG / visu_view3d_parameters.py
index 4cde8e1fa1390fe8755940f71e6ba24fbe0bd199..c3fdf1049fd47f940a7dc6aff36e9f1835201931 100755 (executable)
@@ -1,9 +1,5 @@
-#! /usr/bin/python
 #  -*- coding: iso-8859-1 -*-
-#  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
-#
-#  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 #  This library is free software; you can redistribute it and/or
 #  modify it under the terms of the GNU Lesser General Public
 #
 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 #  VISU VISU_SWIG : binding of C++ implementation and Python
 #  File   : visu_view3d.py
 #  Module : VISU
 #
-
 import salome
 import visu_gui
 import VISU
@@ -37,6 +33,7 @@ medFile = os.getenv("DATA_DIR") + "/MedFiles/fra.med"
 #%====================Stage1: Creating a study====================%
 
 print "Creating a new study... "
+myVisu.SetCurrentStudy(salome.myStudy)
 
 myVisu = visu_gui.myVisu
 myVisu.SetCurrentStudy(salome.myStudy)