Fix: Reset Curve applies incorrect slope
Missed in 635f42c023
Pull Request: https://projects.blender.org/blender/blender/pulls/146846
This commit is contained in:
@@ -8996,8 +8996,7 @@ class VIEW3D_PT_curves_sculpt_parameter_falloff(Panel):
|
||||
layout.template_curve_mapping(
|
||||
brush.curves_sculpt_settings,
|
||||
"curve_parameter_falloff",
|
||||
brush=True,
|
||||
use_negative_slope=True)
|
||||
brush=True)
|
||||
row = layout.row(align=True)
|
||||
row.operator("brush.sculpt_curves_falloff_preset", icon='SMOOTHCURVE', text="").shape = 'SMOOTH'
|
||||
row.operator("brush.sculpt_curves_falloff_preset", icon='SPHERECURVE', text="").shape = 'ROUND'
|
||||
|
||||
@@ -872,7 +872,7 @@ class VIEW3D_PT_tools_weight_gradient(Panel, View3DPaintPanel):
|
||||
col.prop(brush, "curve_distance_falloff_preset", expand=True)
|
||||
|
||||
if brush.curve_distance_falloff_preset == 'CUSTOM':
|
||||
layout.template_curve_mapping(brush, "curve_distance_falloff", brush=True)
|
||||
layout.template_curve_mapping(brush, "curve_distance_falloff", brush=True, use_negative_slope=True)
|
||||
|
||||
col = layout.column(align=True)
|
||||
row = col.row(align=True)
|
||||
|
||||
Reference in New Issue
Block a user