Blender Git Loki
Git Commits -> Revision 2ea565b
Revision 2ea565b by Brecht Van Lommel (master) July 12, 2021, 15:41 (GMT) |
Cleanup: improve naming and comments of scene frame/ctime functions Confusingly, BKE_scene_frame_get did not match the frame number as expected by BKE_scene_frame_set. Instead it return the value after time remapping, which is commonly named "ctime". * Rename BKE_scene_frame_get to BKE_scene_ctime_get * Add a new BKE_scene_frame_get that matches BKE_scene_frame_set * Use int/float depending if fractional frame is expected |
Commit Details:
Full Hash: 2ea565b0ec94136d01fb3ff5bdc31cecfe1c2440
Parent Commit: f709f12
Lines Changed: +76, -72
23 Modified Paths:
/source/blender/blenkernel/BKE_scene.h (+5, -3) (Diff)
/source/blender/blenkernel/intern/armature.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/fluid.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/object_update.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+25, -22) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cc (+1, -1) (Diff)
/source/blender/editors/animation/time_scrub_ui.c (+1, -1) (Diff)
/source/blender/editors/include/ED_keyframing.h (+1, -1) (Diff)
/source/blender/editors/space_action/action_data.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_convert_object.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+6, -6) (Diff)
/source/blender/modifiers/intern/MOD_meshcache.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+0, -1) (Diff)
/source/blender/render/intern/pipeline.c (+1, -1) (Diff)
/source/blender/render/intern/texture_pointdensity.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/fluid.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/object_update.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+25, -22) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cc (+1, -1) (Diff)
/source/blender/editors/animation/time_scrub_ui.c (+1, -1) (Diff)
/source/blender/editors/include/ED_keyframing.h (+1, -1) (Diff)
/source/blender/editors/space_action/action_data.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_convert_object.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+6, -6) (Diff)
/source/blender/modifiers/intern/MOD_meshcache.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+0, -1) (Diff)
/source/blender/render/intern/pipeline.c (+1, -1) (Diff)
/source/blender/render/intern/texture_pointdensity.c (+2, -2) (Diff)