Fix autokeyframing masks not updating properly
Spotted while looking into T76872 Maniphest Tasks: T76872 Differential Revision: https://developer.blender.org/D7786
This commit is contained in:
parent
7e9480b6cd
commit
a8a6b3627a
Notes:
blender-bot
2023-02-14 04:07:50 +01:00
Referenced by issue #76872, 2nd Mask (created after existing keyframe) gets broken handles
|
@ -1848,7 +1848,10 @@ static void special_aftertrans_update__mask(bContext *C, TransInfo *t)
|
|||
if (IS_AUTOKEY_ON(t->scene)) {
|
||||
Scene *scene = t->scene;
|
||||
|
||||
ED_mask_layer_shape_auto_key_select(mask, CFRA);
|
||||
if (ED_mask_layer_shape_auto_key_select(mask, CFRA)) {
|
||||
WM_event_add_notifier(C, NC_MASK | ND_DATA, &mask->id);
|
||||
DEG_id_tag_update(&mask->id, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue