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:
authorJoshua Leung <aligorith@gmail.com>2010-02-01 02:41:38 +0300
committerJoshua Leung <aligorith@gmail.com>2010-02-01 02:41:38 +0300
commitba28cfcf2a79afad9954c21bb9c6685a1904d7b0 (patch)
tree6e7ad2526b11d34f9ff0958cc50cf5f4767c211a /release
parent1d4778ee90de04912515100467392070c0696db9 (diff)
Added 'Evaluation Time' setting access to Path Animation panel.
This was previously only available from the datablocks viewer, but this is the direct replacement to the badly named 'speed' ipo-curve in the past ('speed' implies a rate that must be integrated/added to the results of past frame, rather than a factor). Also, tweaked the RNA definition so that this shows as a slider (i.e. a factor), since the valid values for this are clamped to the [0, 1].
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_data_curve.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/release/scripts/ui/properties_data_curve.py b/release/scripts/ui/properties_data_curve.py
index 15ca3c14f8c..f5d66526d2c 100644
--- a/release/scripts/ui/properties_data_curve.py
+++ b/release/scripts/ui/properties_data_curve.py
@@ -180,11 +180,9 @@ class DATA_PT_pathanim(DataButtonsPanelCurve):
layout.active = curve.use_path
- row = layout.row()
+ col = layout.column()
layout.prop(curve, "path_length", text="Frames")
-
- if wide_ui:
- row.label()
+ layout.prop(curve, "eval_time")
split = layout.split()