diff options
author | YimingWu <xp8110@outlook.com> | 2021-06-28 12:34:15 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-06-28 12:34:15 +0300 |
commit | addb2034a7f8d795a7c26c9f43d0e430234e5a0f (patch) | |
tree | af4d4efbc0f7eaeb7cb80e91c25859fe6ce4496d /source/blender/editors/space_buttons | |
parent | c297769d2249b2fa3c34eb36aee7631ca5278383 (diff) |
Cleanup: Fix const warnings in buttons_context.c
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
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]; |