Page MenuHome

Fix T55183: crashes and other bugs with workspace / view layer relation.
ClosedPublic

Authored by Brecht Van Lommel (brecht) on May 24 2018, 6:41 PM.

Details

Summary

Don't store pointers to ViewLayer in the workspace, only names. Add specific
relation type since the generic mechanism makes the code hard to follow.
Integrate with pointer restore for undo and library remapping code to avoid
data going out of sync.

Also add relation automatically if there doesn't exists one yet in
BKE_workspace_view_layer_get, because in general it's really hard to ensure
it will exist when making arbitrary scene changes.

Diff Detail

Repository
rB Blender
Branch
relation (branched from blender2.8)
Build Status
Buildable 1687
Build 1687: arc lint + arc unit