diff options
author | Omar Emara <OmarSquircleArt> | 2021-03-23 10:26:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-23 10:34:46 +0300 |
commit | ec97450ac6160a8892a339a746a507e40b7d2fce (patch) | |
tree | c1294ae63a80d803172e6a6322952cac7ca8f459 /release/scripts/startup | |
parent | f2f796e623237504790b421e54a4a82549e68c92 (diff) |
Curves: add taper mode option
Currently, when a taper object is specified, the radius of the spline is
ignored. This patch adds a new option to control how the taper object
affect the effective radius of the spline. The option allow three modes
of operation:
- Override: The old method. The radius of the spline is ignored and
overridden.
- Multiply: The radius of the spline is multiplied by the taper radius.
- Add: The radius of the spline is added to the taper radius.
Ref D10779
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_curve.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py index 394e2270227..4bd2d66e257 100644 --- a/release/scripts/startup/bl_ui/properties_data_curve.py +++ b/release/scripts/startup/bl_ui/properties_data_curve.py @@ -175,6 +175,7 @@ class DATA_PT_geometry_curve(CurveButtonsPanelCurve, Panel): sub.prop(curve, "extrude") col.prop(curve, "taper_object") + col.prop(curve, "taper_radius_mode") if type(curve) is not TextCurve: # This setting makes no sense for texts, since we have no control over start/end of the bevel object curve. |