Blender Git Commit Log
Git Commits -> Revision 12a7ee4
Revision 12a7ee4 by Sergey Sharybin (soc-2021-curves) June 21, 2021, 14:31 (GMT) |
Add unit for time stored in seconds Allows to define properties which will have proper units displayed in the interface. The internal storage is expected to be seconds (which matches how other times are stored in Blender). Is not immediately used in Blender, but is required for the upcoming feature in Cycles X (D11526) The naming does not sound very exciting, but can't think of anything better either. For test it probably easiest to define FloatProperty with subdtype of TIME_ABSOLUTE. Differential Revision: https://developer.blender.org/D11532 |
Commit Details:
Full Hash: 12a7ee47e9ff5380de736cc17945f3470e6abf35
Parent Commit: 96a9a31
Committed By: Dilith Jayakody
Lines Changed: +56, -20
9 Modified Paths:
/source/blender/blenkernel/BKE_unit.h (+7, -6) (Diff)
/source/blender/blenkernel/intern/node.cc (+4, -0) (Diff)
/source/blender/blenkernel/intern/unit.c (+4, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+10, -1) (Diff)
/source/blender/makesrna/RNA_types.h (+13, -11) (Diff)
/source/blender/nodes/intern/node_socket.cc (+1, -0) (Diff)
/source/blender/python/intern/bpy_props.c (+11, -1) (Diff)
/source/blender/blenkernel/intern/node.cc (+4, -0) (Diff)
/source/blender/blenkernel/intern/unit.c (+4, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+10, -1) (Diff)
/source/blender/makesrna/RNA_types.h (+13, -11) (Diff)
/source/blender/nodes/intern/node_socket.cc (+1, -0) (Diff)
/source/blender/python/intern/bpy_props.c (+11, -1) (Diff)