Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
62d41108
Commit
62d41108
authored
Dec 02, 2011
by
Philippe Pébay
Browse files
Restored utilization of NeedBuild2D ivar for speed
Change-Id: I238fbda324afcef04372c8a495ef1df3f6229485
parent
e42d9ced
Changes
1
Hide whitespace changes
Inline
Side-by-side
Hybrid/vtkAxisActor.cxx
View file @
62d41108
...
...
@@ -812,6 +812,7 @@ vtkAxisActor::SetLabelPositions2D(vtkViewport *viewport, bool force)
// **********************************************************************
void
vtkAxisActor
::
BuildTitle
(
bool
force
)
{
this
->
NeedBuild2D
=
false
;
if
(
!
force
&&
!
this
->
TitleVisibility
)
{
return
;
...
...
@@ -833,6 +834,7 @@ void vtkAxisActor::BuildTitle(bool force)
return
;
}
this
->
NeedBuild2D
=
true
;
switch
(
this
->
AxisType
)
{
case
VTK_AXIS_TYPE_X
:
...
...
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