Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2017-03-29 13:52:52 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-03-29 13:53:38 +0300
commitb0581cd92ca80286458b81be77570aeeca855a22 (patch)
treea4582527c7d34a7a5f22f21c50684e464a207039
parentac08482886a9026bb301912a0dd09f66b5181459 (diff)
Correct own earlier commit for recursive behavior of property groups
-rw-r--r--source/blender/editors/interface/interface_templates.c3
1 files changed, 1 insertions, 2 deletions
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,