From 17e9ce54ee3972b9804174b874652ec0856efcd0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 10 May 2008 21:44:58 +0000 Subject: interpolation & oscilating debugging --- src/render/draw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render') 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::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(); -- cgit v1.2.3