diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-10 21:44:58 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-10 21:44:58 +0000 |
commit | 17e9ce54ee3972b9804174b874652ec0856efcd0 (patch) | |
tree | 33ec140d65fdcf42a467e3903647efc1be0d4e02 /src/render | |
parent | d3afb677b6ea5942c042b8a83aa5d9ace1dec787 (diff) |
interpolation & oscilating debugging
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/draw.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 7a780bf..e2037e2 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -515,7 +515,7 @@ void draw_pass_model_corona() for (std::map<unsigned int, core::Entity *>::iterator it=core::Entity::registry.begin(); it != core::Entity::registry.end(); it++) { core::Entity *entity = (*it).second; - if ((entity->shape() != core::Entity::Sphere) && entity->state() && entity->state()->visible()) { + if (entity->model() && entity->state() && entity->state()->visible()) { gl::push(); gl::translate(entity->state()->location()); math::Color color = entity->color(); |