From 6cec782970f9924aaa1a49cfff8a2e43efaf559e Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Mon, 22 Mar 2021 16:58:09 +0100 Subject: Cleanup: Collection check return type in button_context --- source/blender/editors/space_buttons/buttons_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors') 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); -- cgit v1.2.3