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:
authorVaishnav S <padthai>2019-02-19 17:23:46 +0300
committerJacques Lucke <mail@jlucke.com>2019-02-19 17:23:46 +0300
commit22eeae8104505b176cee5b9bba2071303b4465ea (patch)
treeaeff9930654080cfcc518e3601dfc7108b5261b6 /source/blender/makesrna/intern/rna_curve.c
parentcba447966ec51db48459e57d838e8b4562b96c5e (diff)
Units: Fix some property subtypes
This commit only contains some of the changes in the diff. Some require more discussion/work. Differential Revision: https://developer.blender.org/D4337
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
-rw-r--r--source/blender/makesrna/intern/rna_curve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c
index 7345aa39f4f..79af46fd38e 100644
--- a/source/blender/makesrna/intern/rna_curve.c
+++ b/source/blender/makesrna/intern/rna_curve.c
@@ -897,7 +897,7 @@ static void rna_def_path(BlenderRNA *UNUSED(brna), StructRNA *srna)
PropertyRNA *prop;
/* number values */
- prop = RNA_def_property(srna, "path_duration", PROP_INT, PROP_NONE);
+ prop = RNA_def_property(srna, "path_duration", PROP_INT, PROP_TIME);
RNA_def_property_int_sdna(prop, NULL, "pathlen");
RNA_def_property_range(prop, 1, MAXFRAME);
RNA_def_property_ui_text(prop, "Path Length",
@@ -1459,7 +1459,7 @@ static void rna_def_curve(BlenderRNA *brna)
"Surface resolution in V direction used while rendering (zero uses preview resolution)");
- prop = RNA_def_property(srna, "eval_time", PROP_FLOAT, PROP_NONE);
+ prop = RNA_def_property(srna, "eval_time", PROP_FLOAT, PROP_TIME);
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 "