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:
authorJacques Lucke <jacques@blender.org>2021-03-20 17:38:17 +0300
committerJacques Lucke <jacques@blender.org>2021-03-20 17:38:17 +0300
commit59d3ec1eefd30a3f041a9b156b3e01607c2bcd71 (patch)
treefede6775e7045ddfc3425ec3c41b4a72999c5db2
parent56da5ae2ac9aafdbc9569a78075ee18f1ec528f1 (diff)
Cleanup: quiet warning
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c2
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;
}
}