diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-09 03:17:18 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-09 03:17:18 +0400 |
commit | aad731d51cdb77f81287300e7a81a00ffd05a38e (patch) | |
tree | 24783340a3fb1065ce986caa0312beeba48da0c1 /source/blender/gpu | |
parent | 0d57724c644c6a45cf14778c79b5138438d01cd6 (diff) |
Code cleanup: remove BKE_object_where_is_calc_simul function.
It doesn't make any sense anymore with the current depsgraph and probably was
not useful for a long time, just a leftover from the pre 2.04 game engine.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 5910941cb3c..72547bf801e 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -1767,8 +1767,6 @@ int GPU_scene_object_lights(Scene *scene, Object *ob, int lay, float viewmat[4][ glPushMatrix(); glLoadMatrixf((float *)viewmat); - BKE_object_where_is_calc_simul(scene, base->object); - if (la->type==LA_SUN) { /* sun lamp */ copy_v3_v3(direction, base->object->obmat[2]); |