From addb2034a7f8d795a7c26c9f43d0e430234e5a0f Mon Sep 17 00:00:00 2001 From: YimingWu Date: Mon, 28 Jun 2021 17:34:15 +0800 Subject: Cleanup: Fix const warnings in buttons_context.c --- source/blender/editors/space_buttons/buttons_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/space_buttons') diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 3a2b7f27e52..a2d9235cfb2 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -154,7 +154,9 @@ static bool buttons_context_path_world(ButsContextPath *path) return false; } -static bool buttons_context_path_collection(bContext *C, ButsContextPath *path, wmWindow *window) +static bool buttons_context_path_collection(const bContext *C, + ButsContextPath *path, + wmWindow *window) { PointerRNA *ptr = &path->ptr[path->len - 1]; -- cgit v1.2.3