Fix T91724: Strip height is too limited
This change was introduced in 997b5fe45d
, to not display pixelated
thumbnails. However when VSE timeline height is made smaller, this
limits strip height.
Change limit, so one strip can occupy full height of VSE timeline
This commit is contained in:
parent
f829b86039
commit
9bdf3fa5f0
Notes:
blender-bot
2023-02-14 05:12:59 +01:00
Referenced by issue #91724, VSE: Regression - strip height has been limited
|
@ -2177,5 +2177,21 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
|||
}
|
||||
}
|
||||
FOREACH_NODETREE_END;
|
||||
|
||||
LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) {
|
||||
LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) {
|
||||
LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) {
|
||||
if (sl->spacetype == SPACE_SEQ) {
|
||||
ListBase *regionbase = (sl == area->spacedata.first) ? &area->regionbase :
|
||||
&sl->regionbase;
|
||||
LISTBASE_FOREACH (ARegion *, region, regionbase) {
|
||||
if (region->regiontype == RGN_TYPE_WINDOW) {
|
||||
region->v2d.min[1] = 1.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ static SpaceLink *sequencer_create(const ScrArea *UNUSED(area), const Scene *sce
|
|||
region->v2d.cur = region->v2d.tot;
|
||||
|
||||
region->v2d.min[0] = 10.0f;
|
||||
region->v2d.min[1] = 4.0f;
|
||||
region->v2d.min[1] = 1.0f;
|
||||
|
||||
region->v2d.max[0] = MAXFRAMEF;
|
||||
region->v2d.max[1] = MAXSEQ;
|
||||
|
|
Loading…
Reference in New Issue