diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 23:56:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 23:56:18 +0300 |
commit | 08ae597d63d2e89888ae937c35357b2de62d7a8e (patch) | |
tree | 1b5ff1e7cf07dbdb38cd5ceefac6fe236a922d23 /source/blender/draw/engines/workbench/workbench_deferred.c | |
parent | f5d096798cda8cca34a31a4a4ce441cb655b982c (diff) |
Cleanup: flag checks
Diffstat (limited to 'source/blender/draw/engines/workbench/workbench_deferred.c')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_deferred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_deferred.c b/source/blender/draw/engines/workbench/workbench_deferred.c index 1307f1c4446..d153728a000 100644 --- a/source/blender/draw/engines/workbench/workbench_deferred.c +++ b/source/blender/draw/engines/workbench/workbench_deferred.c @@ -720,7 +720,7 @@ void workbench_deferred_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob) } } - if (SHADOW_ENABLED(wpd) && (ob->display.flag & OB_SHOW_SHADOW) > 0) { + if (SHADOW_ENABLED(wpd) && (ob->display.flag & OB_SHOW_SHADOW)) { bool is_manifold; struct Gwn_Batch *geom_shadow = DRW_cache_object_edge_detection_get(ob, &is_manifold); if (geom_shadow) { |