Fix applications of Time::ref and replace with TimeManager calls

This commit is contained in:
Alexander Bock
2017-05-25 11:09:19 -04:00
parent 788d5f4b04
commit 8db2db6c1d
5 changed files with 10 additions and 9 deletions

View File

@@ -285,7 +285,8 @@ void RenderableGalaxy::update(const UpdateData& data) {
_raycaster->setStepSize(_stepSize);
_raycaster->setAspect(_aspect);
_raycaster->setModelTransform(volumeTransform);
_raycaster->setTime(data.time);
// @EMIL: is this correct? ---abock
_raycaster->setTime(data.time.j2000Seconds());
}
}