diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-02-01 02:41:38 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-02-01 02:41:38 +0300 |
commit | ba28cfcf2a79afad9954c21bb9c6685a1904d7b0 (patch) | |
tree | 6e7ad2526b11d34f9ff0958cc50cf5f4767c211a /source/blender | |
parent | 1d4778ee90de04912515100467392070c0696db9 (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 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index 91c296fd862..8555e206683 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -831,7 +831,7 @@ static void rna_def_curve(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Render Resolution V", "Surface resolution in V direction used while rendering. Zero skips this property."); - prop= RNA_def_property(srna, "eval_time", PROP_FLOAT, PROP_NONE); + prop= RNA_def_property(srna, "eval_time", PROP_FLOAT, PROP_FACTOR); RNA_def_property_float_sdna(prop, NULL, "ctime"); RNA_def_property_ui_text(prop, "Evaluation Time", "Parametric position along the length of the curve that Objects 'following' it should be at."); RNA_def_property_update(prop, 0, "rna_Curve_update_data"); |