Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beck <software@plasmasolutions.de>2014-05-28 21:57:53 +0400
committerThomas Beck <software@plasmasolutions.de>2014-05-28 22:00:41 +0400
commit11a156255dfadc5ab54d9303f919d5ff217aabac (patch)
treee44d4b8a391a53970df8956bb62ac513f9171ea5 /source/blender/editors/mask/mask_ops.c
parent973f95fa9dfb21e4347a510f119c55b9673f6076 (diff)
Fix T40412: Moving mask layers does not invalidate mask drawing in the movie clip editor
Issue was caused by a missing WM_event_add_notifier(..) in the mask_layer_move_exec() function...
Diffstat (limited to 'source/blender/editors/mask/mask_ops.c')
-rw-r--r--source/blender/editors/mask/mask_ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c
index b7e026ca8e3..5e84d9e6916 100644
--- a/source/blender/editors/mask/mask_ops.c
+++ b/source/blender/editors/mask/mask_ops.c
@@ -2015,6 +2015,8 @@ static int mask_layer_move_exec(bContext *C, wmOperator *op)
mask->masklay_act++;
}
+ WM_event_add_notifier(C, NC_MASK | NA_EDITED, mask);
+
return OPERATOR_FINISHED;
}