Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-05-04 21:04:20 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-05-04 21:04:20 +0400
commit72fa15872489672694b9066ac9bbf7949ca847a8 (patch)
tree11e4a55b9ff2d44a3dace5d8ff9f7de7a638a9b5 /release/scripts/startup/bl_ui/properties_data_curve.py
parenta9ecc86ec935735c66c5fdbd926b4ae2e94eee97 (diff)
Added start and end bevel factor for curves, so now it's possible to make
a bevelled curve which isn't fully covered with a bevel.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_curve.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_curve.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py
index b8a37e38a17..6a7415f7cec 100644
--- a/release/scripts/startup/bl_ui/properties_data_curve.py
+++ b/release/scripts/startup/bl_ui/properties_data_curve.py
@@ -173,9 +173,11 @@ class DATA_PT_geometry_curve(CurveButtonsPanel, Panel):
col.label(text="Bevel Object:")
col.prop(curve, "bevel_object", text="")
- row = col.row()
- row.active = (curve.bevel_object is not None)
- row.prop(curve, "use_fill_caps")
+ col = layout.column(align=True)
+ col.active = (curve.bevel_object is not None)
+ col.prop(curve, "use_fill_caps")
+ col.prop(curve, "bevel_factor_start")
+ col.prop(curve, "bevel_factor_end")
class DATA_PT_pathanim(CurveButtonsPanelCurve, Panel):