[Bf-blender-cvs] [86a3ac25bc6] hair_guides_grooming: Missing return was disabling all groom panels.

Lukas Tönne noreply at git.blender.org
Wed May 23 12:08:03 CEST 2018


Commit: 86a3ac25bc63b981f7d865449aac21748fc72559
Author: Lukas Tönne
Date:   Wed May 23 11:07:40 2018 +0100
Branches: hair_guides_grooming
https://developer.blender.org/rB86a3ac25bc63b981f7d865449aac21748fc72559

Missing return was disabling all groom panels.

===================================================================

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 a72dcce23ac..0b8047856c5 100644
--- a/source/blender/editors/space_buttons/buttons_context.c
+++ b/source/blender/editors/space_buttons/buttons_context.c
@@ -948,6 +948,7 @@ int buttons_context(const bContext *C, const char *member, bContextDataResult *r
 	}
 	else if (CTX_data_equals(member, "groom")) {
 		set_pointer_type(path, result, &RNA_Groom);
+		return 1;
 	}
 	else {
 		return 0; /* not found */



More information about the Bf-blender-cvs mailing list