Blender Git Commit Log
Git Commits -> Revision 5fa6cdb
Revision 5fa6cdb by Sergey Sharybin (master) June 10, 2021, 10:15 (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: 5fa6cdb77a9860ce673f685fd29e11b1c3ee8ad8
Parent Commit: 5304c6e
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)