[Bf-blender-cvs] [11a1562] master: Fix T40412: Moving mask layers does not invalidate mask drawing in the movie clip editor
Thomas Beck
noreply at git.blender.org
Wed May 28 20:02:14 CEST 2014
Commit: 11a156255dfadc5ab54d9303f919d5ff217aabac
Author: Thomas Beck
Date: Wed May 28 19:57:53 2014 +0200
https://developer.blender.org/rB11a156255dfadc5ab54d9303f919d5ff217aabac
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...
===================================================================
M source/blender/editors/mask/mask_ops.c
===================================================================
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c
index b7e026c..5e84d9e 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;
}
More information about the Bf-blender-cvs
mailing list