diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-08-11 01:31:05 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-08-11 01:31:05 +0400 |
commit | f6682ab773c91ef0f760efdbe69f1a599cc1ac95 (patch) | |
tree | 94cd702de42afc5607e3159b54ee1698d4233347 /source/blender/makesrna/intern/rna_timeline.c | |
parent | 6e5b78a2774b3d10226e3c48e558a9059086e416 (diff) |
RNA: subtypes and units
* Reviewed subtypes, making them more specific and adding new ones.
* Subtypes now have an associated type of units (length, area, volume,
mass, rotation, time, velocity, acceleration). These are not used
yet anywhere.
* Centralized code that decides the name of array items based on
subtype (XYZ, RGB), was copied in 3 places.
* RNA_def_float etc functions still need to be update, will do this
later together with another change.
Diffstat (limited to 'source/blender/makesrna/intern/rna_timeline.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_timeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_timeline.c b/source/blender/makesrna/intern/rna_timeline.c index d42603e1952..5e20fca15f0 100644 --- a/source/blender/makesrna/intern/rna_timeline.c +++ b/source/blender/makesrna/intern/rna_timeline.c @@ -49,7 +49,7 @@ static void rna_def_timeline_marker(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Name", ""); RNA_def_struct_name_property(srna, prop); - prop= RNA_def_property(srna, "frame", PROP_INT, PROP_NONE); + prop= RNA_def_property(srna, "frame", PROP_INT, PROP_TIME); RNA_def_property_ui_text(prop, "Frame", "The frame on which the timeline marker appears."); } |