diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2021-03-22 18:58:09 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2021-03-22 18:59:08 +0300 |
commit | 6cec782970f9924aaa1a49cfff8a2e43efaf559e (patch) | |
tree | ca0cf37671abb803926227727f4dfc9c344d6f16 /source/blender/editors/space_buttons | |
parent | 23d2174d6bc40f4426ece2cb5627fc78ea9cf2fa (diff) |
Cleanup: Collection check return type in button_context
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 13762b348c2..41d8ff9bc9e 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -887,7 +887,7 @@ int /*eContextResult*/ buttons_context(const bContext *C, } if (CTX_data_equals(member, "collection")) { set_pointer_type(path, result, &RNA_Collection); - return 1; + return CTX_RESULT_OK; } if (CTX_data_equals(member, "object")) { set_pointer_type(path, result, &RNA_Object); |