diff --git a/source/blender/editors/gpencil_legacy/gpencil_edit.cc b/source/blender/editors/gpencil_legacy/gpencil_edit.cc index b18cbee669c..4b36accfa1f 100644 --- a/source/blender/editors/gpencil_legacy/gpencil_edit.cc +++ b/source/blender/editors/gpencil_legacy/gpencil_edit.cc @@ -465,7 +465,7 @@ static bool gpencil_sculptmode_toggle_poll(bContext *C) return false; } -bool gpencil_sculpt_poll_view3d(bContext *C) +static bool gpencil_sculpt_poll_view3d(bContext *C) { const Object *ob = CTX_data_active_object(C); if (ob == nullptr || (ob->mode & OB_MODE_SCULPT_GPENCIL_LEGACY) == 0) {