Fix #127117: NLA Channels missing update on animated object visibility
e420caab19 already fixed this for "manually" changing visibility, but
if this change comes through animation, these notifiers dont fire (rna
callbacks dont run).
So to resolve, also redraw on `ND_FRAME`, this is something every region
in animation editors listens to anyways, so probably right for
consistency (and to solve this bug), even though it might eat away some
ticks.
Pull Request: https://projects.blender.org/blender/blender/pulls/127145
This commit is contained in:
committed by
Philipp Oeser
parent
69557e316c
commit
f883cb77ba
@@ -466,6 +466,7 @@ static void nla_track_region_listener(const wmRegionListenerParams *params)
|
||||
switch (wmn->data) {
|
||||
case ND_OB_ACTIVE:
|
||||
case ND_LAYER_CONTENT:
|
||||
case ND_FRAME:
|
||||
case ND_OB_SELECT:
|
||||
ED_region_tag_redraw(region);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user