diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-29 15:15:42 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-29 15:15:42 +0300 |
commit | 1580b6bc171ed33f8006a240c0c8379405fa8c27 (patch) | |
tree | 003472b1c414990044d6369b2760e5fdb2092e70 /source/blender/windowmanager/WM_types.h | |
parent | 3e29ff72049f4dc831e568e5a7ecfd13348a147c (diff) |
2.5
More notifier cleanups:
NC_SCENE|ND_OB_SELECT : scene level object selections changed
NC_SCENE|ND_OB_ACTIVE : scene level, new active object
NC_OBJECT|ND_BONE_SELECT : object level, bone selection changed
NC_OBJECT|ND_BONE_ACTIVE: object level, new active bone
I've made view3d listen to these, so operators that change
selections don't have to tag own region for redraw anymore.
Also enabled selecting/activating in outliner again.
BTW: Added it in space_action, but Joshua has to code the
proper refresh still :)
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index 3b3eacc3651..f54fc9881ae 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -144,15 +144,21 @@ typedef struct wmNotifier { /* data type, 256 entries is enough, it can overlap */ #define NOTE_DATA 0x00FF0000 - /* Scene, node users level */ + /* Scene */ #define ND_MARKERS (2<<16) #define ND_FRAME (3<<16) #define ND_RENDER_OPTIONS (4<<16) #define ND_NODES (5<<16) #define ND_SEQUENCER (6<<16) +#define ND_OB_ACTIVE (7<<16) +#define ND_OB_SELECT (8<<16) + /* Object */ #define ND_TRANSFORM (16<<16) #define ND_SHADING (17<<16) +#define ND_POSE (18<<16) +#define ND_BONE_ACTIVE (19<<16) +#define ND_BONE_SELECT (20<<16) /* subtype, 256 entries too */ #define NOTE_SUBTYPE 0x0000FF00 |