Commit: 6b5b61eb8c380653d10b3be6f477086701624331
Author: Clément Foucault
Date:   Tue Mar 6 02:49:55 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB6b5b61eb8c380653d10b3be6f477086701624331

DRW: Fix DRW_viewport_matrix_override_set_all function.

===================================================================

M       source/blender/draw/intern/draw_manager.c

===================================================================

diff --git a/source/blender/draw/intern/draw_manager.c 
b/source/blender/draw/intern/draw_manager.c
index 8feffa246ef..155547f1224 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -478,6 +478,7 @@ void 
DRW_viewport_matrix_override_unset(DRWViewportMatrixType type)
 void DRW_viewport_matrix_override_set_all(DRWMatrixState *state)
 {
        memcpy(DST.view_data.matstate.mat, state, sizeof(DRWMatrixState));
+       DST.override_mat = 0xFFFFFF;
        DST.dirty_mat = true;
 }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to