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>2018-05-30 20:45:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-30 20:49:33 +0300
commit1f693aefca052918d308082f752f388d487f39b6 (patch)
tree3eaf0eaea889938b2b853e86ee386bc9e5d2df3c /source/blender/draw/intern/draw_manager_exec.c
parent61fc9fcffa591b086ecaeef6d02e99a397b6c7c9 (diff)
Cleanup: style/whitespace
Also use 'uint'.
Diffstat (limited to 'source/blender/draw/intern/draw_manager_exec.c')
-rw-r--r--source/blender/draw/intern/draw_manager_exec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_manager_exec.c b/source/blender/draw/intern/draw_manager_exec.c
index 98135a614d9..94250920c57 100644
--- a/source/blender/draw/intern/draw_manager_exec.c
+++ b/source/blender/draw/intern/draw_manager_exec.c
@@ -749,11 +749,12 @@ static void draw_matrices_model_prepare(DRWCallState *st)
/* No need to go further the call will not be used. */
if ((st->flag & DRW_CALL_CULLED) != 0 &&
(st->flag & DRW_CALL_BYPASS_CULLING) == 0)
+ {
return;
-
+ }
/* Order matters */
if (st->matflag & (DRW_CALL_MODELVIEW | DRW_CALL_MODELVIEWINVERSE |
- DRW_CALL_NORMALVIEW | DRW_CALL_EYEVEC))
+ DRW_CALL_NORMALVIEW | DRW_CALL_EYEVEC))
{
mul_m4_m4m4(st->modelview, DST.view_data.matstate.mat[DRW_MAT_VIEW], st->model);
}