After talking with Matt about this, added notifier NC_ID to handle ID changes, specif...
[blender.git] / source / blender / windowmanager / WM_types.h
index 3f0c52f0f2ce5e89e1e86619bace8fa55f783376..53cca69fffcf7f90ad8fe5c0177d6406d6e15455 100644 (file)
@@ -136,6 +136,7 @@ typedef struct wmNotifier {
 #define NC_SPACE                       (15<<24)
 #define        NC_GEOM                         (16<<24)
 #define NC_NODE                                (17<<24)
+#define NC_ID                          (18<<24)
 
 /* data type, 256 entries is enough, it can overlap */
 #define NOTE_DATA                      0x00FF0000
@@ -215,6 +216,9 @@ typedef struct wmNotifier {
        /* NC_NODE Nodes */
 #define ND_NODE_SELECT                 (1<<16)
 
+       /* NC_ID IDs */
+#define ND_ID_RENAME                   (1<<16)
+
 
        /* NC_SPACE */
 #define ND_SPACE_CONSOLE               (1<<16) /* general redraw */