fix T59951: View all sequences does not take into account region overlap

fix centering preview

Reviewed by: Brecht

Differential revision: https://developer.blender.org/D4388
This commit is contained in:
Richard Antalik 2019-02-23 06:16:52 -08:00
parent 6bcdcc96c2
commit 0207d20cd4
Notes: blender-bot 2023-02-14 04:17:07 +01:00
Referenced by issue #61122, New Materials doesn't appear collada preview
Referenced by issue #59951, View all sequences does not take into account region overlap
1 changed files with 1 additions and 1 deletions

View File

@ -1105,7 +1105,7 @@ bool ED_region_is_overlap(int spacetype, int regiontype)
return true;
}
}
else if (ELEM(spacetype, SPACE_VIEW3D, SPACE_SEQ, SPACE_IMAGE)) {
else if (ELEM(spacetype, SPACE_VIEW3D, SPACE_IMAGE)) {
if (ELEM(regiontype, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_TOOL_PROPS)) {
return true;
}