Salome HOME
Merge from BR_PARAVIS_DEV 29Dec09
[modules/paravis.git] / src / PV_SWIG / simple.diff
1 21,39c21,24
2 < #==============================================================================
3 < #
4 < #  Program:   ParaView
5 < #  Module:    $RCSfile$
6 < #
7 < #  Copyright (c) Kitware, Inc.
8 < #  All rights reserved.
9 < #  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
10 < #
11 < #     This software is distributed WITHOUT ANY WARRANTY; without even
12 < #     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 < #     PURPOSE.  See the above copyright notice for more information.
14 < #
15 < #==============================================================================
16
17 < import paraview
18 < paraview.compatibility.major = 3
19 < paraview.compatibility.minor = 5
20 < import servermanager
21 ---
22
23 > import paravisSM
24
25 > servermanager = paravisSM
26 259c244,245
27 <         if proxy == GetActiveSource():
28 ---
29 >         #VSV:==
30 >         if proxy.IsSame(GetActiveSource()):
31 267c253,254
32 <             if rep.Input == proxy:
33 ---
34 >             #VSV:==
35 >             if rep.Input.IsSame(proxy):
36 271c258,259
37 <         if proxy == GetActiveView():
38 ---
39 >         ##VSV:==
40 >         if proxy.IsSame(GetActiveView()):
41 679a668,674
42 > def PrintTrace():
43 >     print paravisSM.myParavis.GetTrace()
44
45 > def SaveTrace(fileName):
46 >     paravisSM.myParavis.SaveTrace(fileName)
47
48
49 681a677,678
50 > ## Initialisation for SALOME GUI
51 > active_objects.view = servermanager.GetRenderView()