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].
This commit is contained in:
2010-01-31 23:41:38 +00:00
parent 1d4778ee90
commit ba28cfcf2a
2 changed files with 3 additions and 5 deletions

View File

@@ -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()