Outliner: Do not crash when drawing unknown view type.
Instead default to Viewlayer view.
This commit is contained in:
parent
0fabd045a5
commit
6d97fdc37e
Notes:
blender-bot
2023-02-13 11:52:04 +01:00
Referenced by commit 17301a3163
, Fix incorrect Outliner tree-display type returned
|
@ -45,6 +45,7 @@ TreeDisplay *outliner_tree_display_create(eSpaceOutliner_Mode mode, SpaceOutline
|
|||
tree_display = new TreeDisplayIDOrphans(*space_outliner);
|
||||
break;
|
||||
case SO_VIEW_LAYER:
|
||||
default:
|
||||
tree_display = new TreeDisplayViewLayer(*space_outliner);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue