diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-09-16 12:28:58 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-09-16 12:44:47 +0400 |
commit | 1e948b251d63cb9141ff71d24fbcf343d38c7da4 (patch) | |
tree | 822827473bfd5733a118baeef3536505cb04724e /source/blender/windowmanager | |
parent | c9f0c20e4800a8179560ec678a8ab8cb48283cf2 (diff) |
Fix T41818: Missing refresh on Undo for nodes (mask example)
Added a special notifier now NC_WM|ND_UNDO in order to deal with such cases
and now compositor/image will refresh when undo happens.
There are much more ways to fail compo to update the resul, like undoing
while it's not visible and so, but as mont29 said -- let's at least fix
obvious crap in the workflow.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index 090d9516f1f..ff252f0fc20 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -249,6 +249,7 @@ typedef struct wmNotifier { #define ND_DATACHANGED (3<<16) #define ND_HISTORY (4<<16) #define ND_JOB (5<<16) +#define ND_UNDO (6<<16) /* NC_SCREEN screen */ #define ND_SCREENBROWSE (1<<16) |