Fix asset shelf not hidden for new 3D Views
The asset shelf was hidden by default in 04d22d73f3. But this only affected existing 3D Views, not newly created ones. This wasn't intentional, 3D Views should have the same defaults here.
This commit is contained in:
parent
a4880576dc
commit
4a89720fe1
@ -237,6 +237,7 @@ static SpaceLink *view3d_create(const ScrArea * /*area*/, const Scene *scene)
|
||||
BLI_addtail(&v3d->regionbase, region);
|
||||
region->regiontype = RGN_TYPE_ASSET_SHELF;
|
||||
region->alignment = RGN_ALIGN_BOTTOM;
|
||||
region->flag |= RGN_FLAG_HIDDEN;
|
||||
|
||||
/* asset shelf header */
|
||||
region = MEM_cnew<ARegion>("asset shelf header for view3d");
|
||||
|
Loading…
Reference in New Issue
Block a user