[Bf-blender-cvs] [0b249305418] master: UI: Add missing row in curve profile template

Hans Goudey noreply at git.blender.org
Mon Jul 13 23:16:08 CEST 2020


Commit: 0b249305418513743a81c31c5b839ca27b1d9b75
Author: Hans Goudey
Date:   Mon Jul 13 17:16:01 2020 -0400
Branches: master
https://developer.blender.org/rB0b249305418513743a81c31c5b839ca27b1d9b75

UI: Add missing row in curve profile template

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

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 7502652c262..3c0b5bd3027 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -4849,6 +4849,7 @@ static void CurveProfile_buttons_layout(uiLayout *layout, PointerRNA *ptr, RNAUp
   /* Preset selector */
   /* There is probably potential to use simpler "uiItemR" functions here, but automatic updating
    * after a preset is selected would be more complicated. */
+  row = uiLayoutRow(layout, true);
   bt = uiDefBlockBut(
       block, CurveProfile_buttons_presets, profile, "Preset", 0, 0, UI_UNIT_X, UI_UNIT_X, "");
   UI_but_funcN_set(bt, rna_update_cb, MEM_dupallocN(cb), NULL);



More information about the Bf-blender-cvs mailing list