Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-10 21:44:58 +0000
committerStijn Buys <ingar@osirion.org>2008-05-10 21:44:58 +0000
commit17e9ce54ee3972b9804174b874652ec0856efcd0 (patch)
tree33ec140d65fdcf42a467e3903647efc1be0d4e02 /src/render/draw.cc
parentd3afb677b6ea5942c042b8a83aa5d9ace1dec787 (diff)
interpolation & oscilating debugging
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r--src/render/draw.cc2
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();