More changes to allow JupiterProjection and PlutoProjection in the same scene

Add a switch that allows Renderables to react to big changes in time (via openspace.time.setTime)
Allow the setting of the minimum pixel size of stars
This commit is contained in:
Alexander Bock
2015-02-24 19:16:15 +01:00
parent bac0a9ad31
commit 3155073f05
11 changed files with 67 additions and 24 deletions
+4 -1
View File
@@ -569,10 +569,13 @@ void OpenSpaceEngine::preSynchronization() {
void OpenSpaceEngine::postSynchronizationPreDraw() {
Time::ref().postSynchronizationPreDraw();
bool d = Time::ref().timeJumped();
_scriptEngine->postSynchronizationPreDraw();
_renderEngine->postSynchronizationPreDraw();
if (_isMaster && _gui->isEnabled()) {
if (_isMaster && _gui->isEnabled()) {
double posX, posY;
sgct::Engine::instance()->getMousePos(0, &posX, &posY);