[Bf-blender-cvs] [addb2034a7f] master: Cleanup: Fix const warnings in buttons_context.c
YimingWu
noreply at git.blender.org
Mon Jun 28 11:34:29 CEST 2021
Commit: addb2034a7f8d795a7c26c9f43d0e430234e5a0f
Author: YimingWu
Date: Mon Jun 28 17:34:15 2021 +0800
Branches: master
https://developer.blender.org/rBaddb2034a7f8d795a7c26c9f43d0e430234e5a0f
Cleanup: Fix const warnings in buttons_context.c
===================================================================
M source/blender/editors/space_buttons/buttons_context.c
===================================================================
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];
More information about the Bf-blender-cvs
mailing list