diff options
author | Jacques Lucke <jacques@blender.org> | 2021-03-20 17:38:17 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-03-20 17:38:17 +0300 |
commit | 59d3ec1eefd30a3f041a9b156b3e01607c2bcd71 (patch) | |
tree | fede6775e7045ddfc3425ec3c41b4a72999c5db2 /source | |
parent | 56da5ae2ac9aafdbc9569a78075ee18f1ec528f1 (diff) |
Cleanup: quiet warning
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c index 00fb85bd05d..8665b316c43 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c @@ -1781,7 +1781,7 @@ static int lineart_usage_check(Collection *c, Object *ob, LineartRenderBuffer *_ /* Temp solution to speed up calculation in the modifier without cache. See the definition of * rb->_source_type for details. */ if (_rb->_source_type == LRT_SOURCE_OBJECT) { - if (ob != _rb->_source_object && ob->id.orig_id != _rb->_source_object) { + if (ob != _rb->_source_object && ob->id.orig_id != (ID *)_rb->_source_object) { return OBJECT_LRT_OCCLUSION_ONLY; } } |