mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 02:45:53 +02:00
Add clarifying comment.
This commit is contained in:
parent
e537c494e5
commit
d0c521d7b4
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,8 @@ void Image3DOverlay::render(RenderArgs* args) {
|
|||
|
||||
Transform transform = getTransform();
|
||||
bool transformChanged = applyTransformTo(transform, true);
|
||||
// If the transform is not modified, setting the transform to
|
||||
// itself will cause drift over time due to floating point errors.
|
||||
if (transformChanged) {
|
||||
setTransform(transform);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue