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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-29 22:52:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-29 22:52:31 +0400
commit27591458aab788de511b5feaa1b3bcad7208e31b (patch)
treef4b6583c4317109c7c09eaab8b98e42195529809 /source
parentd71db08f6d31521925ae5ee5ebd5bb542d906d78 (diff)
Correct own regression drawing lamp outline
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 86383baabfa..e586ce0fa61 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -1258,7 +1258,7 @@ static void drawlamp(View3D *v3d, RegionView3D *rv3d, Base *base,
copy_v3_fl3(lvec, 0.0f, 0.0f, 1.0f);
copy_v3_fl3(vvec, rv3d->persmat[0][2], rv3d->persmat[1][2], rv3d->persmat[2][2]);
- mul_mat3_m4_v3(ob->obmat, vvec);
+ mul_transposed_mat3_m4_v3(ob->obmat, vvec);
x = -la->dist;
y = cosf(la->spotsize * 0.5f);