[Bf-blender-cvs] [b0581cd92ca] blender2.8: Correct own earlier commit for recursive behavior of property groups

Julian Eisel noreply at git.blender.org
Wed Mar 29 12:54:11 CEST 2017


Commit: b0581cd92ca80286458b81be77570aeeca855a22
Author: Julian Eisel
Date:   Wed Mar 29 12:52:52 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBb0581cd92ca80286458b81be77570aeeca855a22

Correct own earlier commit for recursive behavior of property groups

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

M	source/blender/editors/interface/interface_templates.c

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

diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 8f042dfbd00..a31ce55ca5f 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -3684,8 +3684,6 @@ static void template_keymap_item_properties(uiLayout *layout, const char *title,
 {
 	uiLayout *flow, *box, *row;
 
-	WM_operator_properties_sanitize(ptr, false);
-
 	uiItemS(layout);
 
 	if (title)
@@ -3736,6 +3734,7 @@ void uiTemplateKeymapItemProperties(uiLayout *layout, PointerRNA *ptr)
 	if (propptr.data) {
 		uiBut *but = uiLayoutGetBlock(layout)->buttons.last;
 
+		WM_operator_properties_sanitize(&propptr, false);
 		template_keymap_item_properties(layout, NULL, &propptr);
 
 		/* attach callbacks to compensate for missing properties update,




More information about the Bf-blender-cvs mailing list