Grease Pencil notifier/listener cleanup
authorDan Eicher <dan@eu.phorio.us>
Fri, 5 Oct 2012 19:51:11 +0000 (19:51 +0000)
committerDan Eicher <dan@eu.phorio.us>
Fri, 5 Oct 2012 19:51:11 +0000 (19:51 +0000)
commitba470956274cc4086ee153e4f9bdda9d2ff714f5
tree354dc117929e6fcda353a0a4219cfe449bcebecc
parentdb5682ac8c53377e819fd50357de580c02405fca
Grease Pencil notifier/listener cleanup

As suggested by Campbell on the IRC gave grease pencil its own notifier type (NC_GPENCIL) and made the makesrna notifier functions actually update properly.

Also got the #ifdef'd GreasePencil.layers.[new/remove] functions working.
14 files changed:
source/blender/blenkernel/BKE_gpencil.h
source/blender/blenkernel/intern/gpencil.c
source/blender/editors/gpencil/gpencil_buttons.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/gpencil/gpencil_undo.c
source/blender/editors/space_action/space_action.c
source/blender/editors/space_clip/space_clip.c
source/blender/editors/space_image/space_image.c
source/blender/editors/space_node/space_node.c
source/blender/editors/space_sequencer/space_sequencer.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/makesrna/intern/rna_gpencil.c
source/blender/windowmanager/WM_types.h