Blender Git Commit Log

Git Commits -> Revision 03dbae0

Revision 03dbae0 by Sergey Sharybin (master)
August 26, 2013, 20:23 (GMT)
Mask primitives

Currently only circle and square, might be easily
extended in the future.

New primitives are creating at cursor location.
This also implied adding 2d cursor to space clip.

Also fix set 2D cursor location which didn't work
in image editor's mask mode since 2.67.

TODO: draw_image_cursor better be moved to some
more generic file, but it's not so much
important for now and might be solved later.

Thanks Campbell for the review!

Commit Details:

Full Hash: 03dbae07d346dcfb5cdaeeeea3585f642cd90d31
SVN Revision: 59534
Parent Commit: 11aa7a7
Lines Changed: +349, -23

1 Added Path:

/release/scripts/startup/bl_operators/mask.py (+34, -0) (View)

17 Modified Paths:

/release/scripts/startup/bl_operators/__init__.py (+1, -0) (Diff)
/source/blender/editors/include/ED_mask.h (+2, -0) (Diff)
/source/blender/editors/include/ED_uvedit.h (+1, -1) (Diff)
/source/blender/editors/include/UI_view2d.h (+1, -0) (Diff)
/source/blender/editors/interface/view2d.c (+11, -0) (Diff)
/source/blender/editors/mask/mask_add.c (+156, -0) (Diff)
/source/blender/editors/mask/mask_edit.c (+39, -0) (Diff)
/source/blender/editors/mask/mask_intern.h (+3, -0) (Diff)
/source/blender/editors/mask/mask_ops.c (+20, -0) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+2, -13) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+2, -0) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+45, -0) (Diff)
/source/blender/editors/space_clip/space_clip.c (+17, -2) (Diff)
/source/blender/editors/space_image/space_image.c (+2, -2) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+4, -4) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+7, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021