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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-29 12:12:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-29 12:13:20 +0400
commit409fb4da0ce671d9c5cf54cb327770d6b4e97cb2 (patch)
tree37f4c7705463122fdf3d3e16a16a9d1feb89c967 /source/blender/render
parentd8282da5452b9bb8487d9bce611b922244a74a08 (diff)
Code cleanup: remove redundant matrix initialization
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/zbuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/zbuf.c b/source/blender/render/intern/source/zbuf.c
index 03eac8cb38b..a9253a8e635 100644
--- a/source/blender/render/intern/source/zbuf.c
+++ b/source/blender/render/intern/source/zbuf.c
@@ -1831,7 +1831,9 @@ void zbuf_render_project(float winmat[4][4], const float co[3], float ho[4])
void zbuf_make_winmat(Render *re, float winmat[4][4])
{
if (re->r.mode & R_PANORAMA) {
- float panomat[4][4]= MAT4_UNITY;
+ float panomat[4][4];
+
+ unit_m4(panomat);
panomat[0][0]= re->panoco;
panomat[0][2]= re->panosi;