Cleanup: remove compilation warning in previous commit. master
authorJeroen Bakker <jeroen@blender.org>
Wed, 30 Jun 2021 07:45:07 +0000 (09:45 +0200)
committerJeroen Bakker <jeroen@blender.org>
Wed, 30 Jun 2021 07:45:07 +0000 (09:45 +0200)
source/blender/editors/space_buttons/buttons_context.c

index 9760897cb229703ae21bdb4ffdec1a8425fb0bf5..2a22b935e18627a7809b8229cddccb6264ce3fe4 100644 (file)
@@ -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];