diff options
Diffstat (limited to 'source/blender/draw/intern/draw_manager_exec.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_manager_exec.c b/source/blender/draw/intern/draw_manager_exec.c index bc527d0337c..0cdf5d78a43 100644 --- a/source/blender/draw/intern/draw_manager_exec.c +++ b/source/blender/draw/intern/draw_manager_exec.c @@ -61,10 +61,10 @@ void drw_state_set(DRWState state) } #define CHANGED_TO(f) \ - ((((DST.state & (f)) ? \ + ((DST.state_lock & (f)) ? 0 : \ + (((DST.state & (f)) ? \ ((state & (f)) ? 0 : -1) : \ - ((state & (f)) ? 1 : 0))) && \ - ((DST.state_lock & (f)) == 0)) + ((state & (f)) ? 1 : 0)))) #define CHANGED_ANY(f) \ (((DST.state & (f)) != (state & (f))) && \ |