Fix T41223: F-Curve sliders won't update values during playback when mouse cursor is outside the left panel.

This commit is contained in:
Bastien Montagne 2014-07-29 15:31:53 +02:00
parent 976526559d
commit 42ba931fed
Notes: blender-bot 2023-02-14 10:17:39 +01:00
Referenced by issue #41769, Musgrave textures Offset and Gain properties do nothing
Referenced by issue #41223, F-Curve sliders won't update values during playback when mouse cursor is outside the left panel
1 changed files with 10 additions and 0 deletions

View File

@ -3220,6 +3220,16 @@ static int match_region_with_redraws(int spacetype, int regiontype, int redraws)
}
}
else if (regiontype == RGN_TYPE_CHANNELS) {
switch (spacetype) {
case SPACE_IPO:
case SPACE_ACTION:
case SPACE_NLA:
if (redraws & TIME_ALL_ANIM_WIN)
return 1;
break;
}
}
else if (regiontype == RGN_TYPE_UI) {
if (spacetype == SPACE_CLIP) {
/* Track Preview button is on Properties Editor in SpaceClip,