UI: Add missing row in curve profile template
This commit is contained in:
parent
37fb586a0b
commit
0b24930541
|
@ -4849,6 +4849,7 @@ static void CurveProfile_buttons_layout(uiLayout *layout, PointerRNA *ptr, RNAUp
|
||||||
/* Preset selector */
|
/* Preset selector */
|
||||||
/* There is probably potential to use simpler "uiItemR" functions here, but automatic updating
|
/* There is probably potential to use simpler "uiItemR" functions here, but automatic updating
|
||||||
* after a preset is selected would be more complicated. */
|
* after a preset is selected would be more complicated. */
|
||||||
|
row = uiLayoutRow(layout, true);
|
||||||
bt = uiDefBlockBut(
|
bt = uiDefBlockBut(
|
||||||
block, CurveProfile_buttons_presets, profile, "Preset", 0, 0, UI_UNIT_X, UI_UNIT_X, "");
|
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);
|
UI_but_funcN_set(bt, rna_update_cb, MEM_dupallocN(cb), NULL);
|
||||||
|
|
Loading…
Reference in New Issue