Blender Git Commit Log

Git Commits -> Revision 4b955a6

Revision 4b955a6 by Sergey Sharybin (master)
June 20, 2012, 10:28 (GMT)
Cleanup up space clip API:

- Remove clip/mask specific size/aspect getters, they shall just
use the same size/aspect ratio.
- Made size getter (and some other public functions) accept context
instead of SpaceClip. Currently only SpaceClip is being get from
this context, but later it'll be helpful when adding support of
editing mask without opening clip in clip editor (in this case
using render resolution for mask would be ideal, but this
requires knowing scene in size getter).
- Rearrange some functions in clip_editor.c for easier navigation
in the file.

Commit Details:

Full Hash: 4b955a60eda06526e3a793fd9bb3c942b641d877
SVN Revision: 48111
Parent Commit: fca0112
Lines Changed: +292, -323

13 Modified Paths:

/source/blender/editors/include/ED_clip.h (+10, -12) (Diff)
/source/blender/editors/mask/mask_edit.c (+6, -8) (Diff)
/source/blender/editors/mask/mask_select.c (+2, -4) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+9, -5) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+161, -188) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+2, -2) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+21, -29) (Diff)
/source/blender/editors/space_clip/clip_utils.c (+4, -3) (Diff)
/source/blender/editors/space_clip/space_clip.c (+51, -46) (Diff)
/source/blender/editors/space_clip/tracking_ops.c (+7, -6) (Diff)
/source/blender/editors/space_clip/tracking_select.c (+7, -8) (Diff)
/source/blender/editors/transform/transform.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_conversions.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021