Blender Git Commit Log
Git Commits -> Revision 7df39b5
Revision 7df39b5 by Joshua Leung (master) August 30, 2009, 13:32 (GMT) |
Grease Pencil: Basic Support for Image Editor Again * Grease Pencil works again from Image Editor now. For now, the GPencil datablock is linked to the Image Editor space, but this can be changed if need be. * Made Grease Pencil hotkeys into a separate Grease Pencil keymap, which can get included automagically like for frames/ui/v2d/etc. by supplying ED_KEYMAP_GPENCIL as part of st->keymapflag * Temporarily restored the nasty hack to make View2D-aligned sketches in Image Editor to use OpenGL lines only. I still dunno why this doesn't work normally. (Probably related is that strokes are not visible when there's no image visible atm). |
Commit Details:
Full Hash: 7df39b5ea2bd8bfd0c5a2a08aa2c52d051aa5fd5
SVN Revision: 22890
Parent Commit: d4d520c
Lines Changed: +82, -49
14 Modified Paths:
/source/blender/editors/gpencil/drawgpencil.c (+12, -5) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+11, -0) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+2, -5) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+8, -7) (Diff)
/source/blender/editors/include/ED_gpencil.h (+1, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+4, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_buttons.c (+7, -0) (Diff)
/source/blender/editors/space_image/image_draw.c (+21, -18) (Diff)
/source/blender/editors/space_image/image_intern.h (+1, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+11, -5) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+0, -4) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+11, -0) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+2, -5) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+8, -7) (Diff)
/source/blender/editors/include/ED_gpencil.h (+1, -2) (Diff)
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+4, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_buttons.c (+7, -0) (Diff)
/source/blender/editors/space_image/image_draw.c (+21, -18) (Diff)
/source/blender/editors/space_image/image_intern.h (+1, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+11, -5) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+0, -4) (Diff)