Blender Git Commit Log

Git Commits -> Revision 39eb314

Revision 39eb314 by Campbell Barton (master)
January 29, 2014, 09:44 (GMT)
UI: Refactor timecode functions into BLI_timecode

- deduplicate timecode_simple_string from image.c
- replace V2D_UNIT_SECONDSSEQ with V2D_UNIT_SECONDS
- avoid possible buffer overflow bugs (sprintf -> BLI_snprintf)
- remove option not to use timecode and split into 2 functions

Patch D227 by Andrew Buttery with own refactoring.

Commit Details:

Full Hash: 39eb314cb922b805e9126d5f0352f31c2f84f151
Parent Commit: f70d966
Lines Changed: +283, -164

2 Added Paths:

/source/blender/blenlib/BLI_timecode.h (+41, -0) (View)
/source/blender/blenlib/intern/timecode.c (+218, -0) (View)

7 Modified Paths:

/source/blender/blenkernel/intern/image.c (+4, -26) (Diff)
/source/blender/blenlib/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/animation/anim_draw.c (+9, -121) (Diff)
/source/blender/editors/include/ED_anim_api.h (+0, -3) (Diff)
/source/blender/editors/include/UI_view2d.h (+0, -1) (Diff)
/source/blender/editors/interface/view2d.c (+8, -12) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021