Fixed camera above ground checking in opengl renderer

This commit is contained in:
Michaël Lemaire 2013-11-16 00:39:17 +01:00
parent 4f9e24b87d
commit 5506158363

View file

@ -407,6 +407,7 @@ void WidgetExplorer::paintGL()
// Don't do this at each frame, only on camera change // Don't do this at each frame, only on camera change
_renderer->getScenery()->setCamera(_current_camera); _renderer->getScenery()->setCamera(_current_camera);
_renderer->getScenery()->getCamera(_current_camera);
start_time = QTime::currentTime(); start_time = QTime::currentTime();