diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-12 09:20:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-12 09:20:16 +0400 |
commit | 23e057185370f1aaccf13f86062f3622d25e950a (patch) | |
tree | 902cfbc0ec43aae4e1571fe80e028090f0ccb06c /source/blender/makesrna/RNA_types.h | |
parent | c77e556b23e8df10a829bdeebe86d718bd5e5ca6 (diff) |
added time units, currently only used when metric or imperial are enabled.
long/short units...
day,d, hour,hr,h, minute,min,m, second,sec,s, millisecond,ms, microsecond,us
Also may fix some bugs that were reported.
Note, to convert fps to time evil_C needs to be used to get the scene.
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r-- | source/blender/makesrna/RNA_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h index 4833640a04b..72ecf0e7a93 100644 --- a/source/blender/makesrna/RNA_types.h +++ b/source/blender/makesrna/RNA_types.h @@ -80,6 +80,7 @@ typedef enum PropertyUnit { } PropertyUnit; #define RNA_SUBTYPE_UNIT(subtype) (subtype & 0x00FF0000) +#define RNA_SUBTYPE_UNIT_VALUE(subtype) (subtype>>16) /* also update rna_property_subtypename when you change this */ typedef enum PropertySubType { |