Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ParaView
ParaView
Commits
7bd02757
Commit
7bd02757
authored
Oct 01, 2009
by
Pat Marion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: Fix default value for Visibility ivar in vtkSMChartRepresentationProxy.
parent
cb089627
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
Servers/ServerManager/vtkSMChartRepresentationProxy.cxx
Servers/ServerManager/vtkSMChartRepresentationProxy.cxx
+6
-7
No files found.
Servers/ServerManager/vtkSMChartRepresentationProxy.cxx
View file @
7bd02757
...
...
@@ -23,12 +23,12 @@
#include "vtkSMChartViewProxy.h"
vtkStandardNewMacro
(
vtkSMChartRepresentationProxy
);
vtkCxxRevisionMacro
(
vtkSMChartRepresentationProxy
,
"1.
3
"
);
vtkCxxRevisionMacro
(
vtkSMChartRepresentationProxy
,
"1.
4
"
);
//----------------------------------------------------------------------------
vtkSMChartRepresentationProxy
::
vtkSMChartRepresentationProxy
()
{
this
->
VTKRepresentation
=
vtkQtChartRepresentation
::
New
();
this
->
Visibility
=
0
;
this
->
Visibility
=
1
;
this
->
UseIndexForXAxis
=
true
;
this
->
XSeriesName
=
0
;
...
...
@@ -74,8 +74,8 @@ bool vtkSMChartRepresentationProxy::AddToView(vtkSMViewProxy* view)
{
return
false
;
}
vtkSMChartViewProxy
*
chartView
=
vtkSMChartViewProxy
::
SafeDownCast
(
view
);
vtkSMChartViewProxy
*
chartView
=
vtkSMChartViewProxy
::
SafeDownCast
(
view
);
if
(
!
chartView
)
{
return
false
;
...
...
@@ -93,9 +93,8 @@ bool vtkSMChartRepresentationProxy::AddToView(vtkSMViewProxy* view)
//----------------------------------------------------------------------------
bool
vtkSMChartRepresentationProxy
::
RemoveFromView
(
vtkSMViewProxy
*
view
)
{
vtkSMChartViewProxy
*
barChartView
=
vtkSMChartViewProxy
::
SafeDownCast
(
view
);
if
(
!
barChartView
||
barChartView
!=
this
->
ChartViewProxy
)
vtkSMChartViewProxy
*
chartView
=
vtkSMChartViewProxy
::
SafeDownCast
(
view
);
if
(
!
chartView
||
chartView
!=
this
->
ChartViewProxy
)
{
return
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment