GPencil: Fix compiler warning
This commit is contained in:
parent
bb4e09ddc5
commit
3f55121a18
@ -887,7 +887,7 @@ static bool gpencil_stroke_is_drawable(tGPDfill *tgpf, bGPDstroke *gps)
|
|||||||
const bool is_collide = (gps->flag & GP_STROKE_COLLIDE) != 0;
|
const bool is_collide = (gps->flag & GP_STROKE_COLLIDE) != 0;
|
||||||
|
|
||||||
if (is_line_mode && only_collide && tgpf->is_render && !is_collide) {
|
if (is_line_mode && only_collide && tgpf->is_render && !is_collide) {
|
||||||
return;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!show_help) && (show_extend)) {
|
if ((!show_help) && (show_extend)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user