diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-30 15:50:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-30 15:50:44 +0300 |
commit | 46feccfaea1818ef4ea91fe9694c7826e443fb58 (patch) | |
tree | 57779ba08f083d90c49060f57b3a5317b993cf11 /source/blender/makesrna/intern/rna_constraint.c | |
parent | 9733e5f76fdc87c3c5801a372f86062d47f844d4 (diff) |
Fix for bug #25367 didn't ensure the problem wasn't happening elsewhere.
add a check in makesrna, found FollowPathConstraint.offset was a float wrapped as an int.
Diffstat (limited to 'source/blender/makesrna/intern/rna_constraint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index ffc42eb97e4..f83644bd4cb 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -1113,7 +1113,7 @@ static void rna_def_constraint_follow_path(BlenderRNA *brna) RNA_def_property_flag(prop, PROP_EDITABLE); RNA_def_property_update(prop, NC_OBJECT|ND_CONSTRAINT, "rna_Constraint_dependency_update"); - prop= RNA_def_property(srna, "offset", PROP_INT, PROP_TIME); + prop= RNA_def_property(srna, "offset", PROP_FLOAT, PROP_TIME); RNA_def_property_range(prop, MINAFRAME, MAXFRAME); RNA_def_property_ui_text(prop, "Offset", "Offset from the position corresponding to the time frame"); RNA_def_property_update(prop, NC_OBJECT|ND_CONSTRAINT, "rna_Constraint_update"); |