diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-14 04:47:25 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-14 04:47:25 +0300 |
commit | f3c89524c39d780b4962627f324de392842d6f1a (patch) | |
tree | 68601ab9a046f776fa637e861f05ac5c06a38f6f /source/blender/windowmanager/WM_types.h | |
parent | 61d4ff5890a21672e1e757484a436c0152ab802a (diff) |
Fix [#20663] Mouse cursor icon changes back to default in edit mode
Seemed simple but actually turned out to be quite complex.
ND_MODE notifier was being misused, changed to ND_TOOLSETTINGS
Note: Although the fix itself doesn't involve this much, debugging uncovered
that listeners can't rely on notifier->swinid to be correct, since notifiers can
now be added from RNA without a region context.
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index 442177ef7ba..ee82fccc864 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -106,7 +106,7 @@ typedef struct wmNotifier { struct wmWindowManager *wm; struct wmWindow *window; - int swinid; + int swinid; /* can't rely on this, notifiers can be added without context, swinid of 0 */ unsigned int category, data, subtype, action; void *reference; @@ -171,7 +171,7 @@ typedef struct wmNotifier { #define ND_RENDER_RESULT (10<<16) #define ND_COMPO_RESULT (11<<16) #define ND_KEYINGSET (12<<16) -#define ND_SCENEDELETE (13<<16) +#define ND_TOOLSETTINGS (13<<16) #define ND_LAYER (14<<16) #define ND_SEQUENCER_SELECT (15<<16) |