Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
pulsatingscience
Commits
5f3c4985
Commit
5f3c4985
authored
Sep 13, 2017
by
Oliver Bock
Browse files
Fix performance regression: no need to update the plot on camera changes
parent
319cef20
Changes
1
Show whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
5f3c4985
...
...
@@ -509,8 +509,6 @@ void PulsarAnimationWidget::updateCameraPosition(const double angleH, const doub
m_cameraPosY
=
sin
(
angleV
*
deg2rad
)
*
zoom
;
m_cameraPosZ
=
cos
(
angleH
*
deg2rad
)
*
cos
(
angleV
*
deg2rad
)
*
zoom
;
updatePulseProfile
();
updateGL
();
}
...
...
Write
Preview
Supports
Markdown
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