Fix #111545: Regression: Crash when drawing all view layers in outliner #111646

Merged
Pratik Borhade merged 2 commits from PratikPB2123/blender:111545-outliner-crash into main 2023-08-29 14:11:32 +02:00

2 Commits

Author SHA1 Message Date
Pratik Borhade 456b759e10 Rename variable name 2023-08-29 15:53:32 +05:30
Pratik Borhade 1831741712 Fix #111545: Regression: Crash when drawing all view layers in outliner
Caused by d5c7608b39

view_layer is paissed in outliner_add_element to fix the view layer
exansion (c2fdbcca3c). This result in crash after the recent refactor.
Use new struct to fix the crash and to maintain the fix of view
layer expansion.
2023-08-29 12:39:57 +05:30