Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 8, 2008, 5:26:49 PM (16 years ago)
Author:
rgrieder
Message:

Fixed bug in dedicated mode: Scene nodes need an update.
—> Made Scene tickable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/Scene.cc

    r2112 r2157  
    164164        return 0;
    165165    }
     166
     167    void Scene::tick(float dt)
     168    {
     169        if (!Core::showsGraphics())
     170        {
     171            // We need to update the scene nodes if we don't render
     172            this->rootSceneNode_->_update(true, false);
     173        }
     174    }
    166175}
Note: See TracChangeset for help on using the changeset viewer.