[Bf-blender-cvs] [3f55121a185] master: GPencil: Fix compiler warning
Antonio Vazquez
noreply at git.blender.org
Wed Sep 28 16:10:57 CEST 2022
Commit: 3f55121a185ab7259b319be98fcbb787f4ab842b
Author: Antonio Vazquez
Date: Wed Sep 28 16:10:39 2022 +0200
Branches: master
https://developer.blender.org/rB3f55121a185ab7259b319be98fcbb787f4ab842b
GPencil: Fix compiler warning
===================================================================
M source/blender/editors/gpencil/gpencil_fill.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index ba187080bab..b99274d66e5 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -887,7 +887,7 @@ static bool gpencil_stroke_is_drawable(tGPDfill *tgpf, bGPDstroke *gps)
const bool is_collide = (gps->flag & GP_STROKE_COLLIDE) != 0;
if (is_line_mode && only_collide && tgpf->is_render && !is_collide) {
- return;
+ return false;
}
if ((!show_help) && (show_extend)) {
More information about the Bf-blender-cvs
mailing list