diff --git a/source/blender/modifiers/intern/MOD_grease_pencil_util.cc b/source/blender/modifiers/intern/MOD_grease_pencil_util.cc index e003f3fad00..a348a172180 100644 --- a/source/blender/modifiers/intern/MOD_grease_pencil_util.cc +++ b/source/blender/modifiers/intern/MOD_grease_pencil_util.cc @@ -172,7 +172,7 @@ void draw_custom_curve_settings(const bContext * /*C*/, uiLayout *layout, Pointe uiLayoutSetPropDecorate(row, false); uiItemR(row, ptr, "use_custom_curve", UI_ITEM_NONE, "Custom Curve", ICON_NONE); if (use_custom_curve) { - uiTemplateCurveMapping(row, ptr, "custom_curve", 0, false, false, false, false); + uiTemplateCurveMapping(layout, ptr, "custom_curve", 0, false, false, false, false); } }