Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-09 03:17:18 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-09 03:17:18 +0400
commitaad731d51cdb77f81287300e7a81a00ffd05a38e (patch)
tree24783340a3fb1065ce986caa0312beeba48da0c1 /source/blender/gpu/intern/gpu_draw.c
parent0d57724c644c6a45cf14778c79b5138438d01cd6 (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/intern/gpu_draw.c')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c2
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]);