Make first non-anonymous CustomData layer active #106972

Closed
Martijn Versteegh wants to merge 1 commits from Baardaap/blender:setfirstnonhiddenlayeractive into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Martijn Versteegh 639b10bc1c Make first non-anonymous CustomData layer active
For each created CustomData layer check if the previous active layer
was an anonymous layer and if so set the new layer as active. Do the same
for the render/clone/mask layer. This way we never end up in a state
where a mesh has non-anonymous layers but none of them are active.
2023-04-14 23:11:37 +02:00