WIP: Fix #104730: Make first visible CustomData layer active #104739

Draft
Martijn Versteegh wants to merge 6 commits from Baardaap/blender:activatefirstnonhiddenlayer into main

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

6 Commits

Author SHA1 Message Date
Martijn Versteegh 0de0f96bd4 Revert "Never let anonymous layers be the active/render/mask/clone lauyer"
This reverts commit 965a936118.
2023-02-16 14:41:53 +01:00
Martijn Versteegh 7dc47e8bdf Fix customdata_has_nonanonymous 2023-02-16 14:41:24 +01:00
Martijn Versteegh 965a936118 Never let anonymous layers be the active/render/mask/clone lauyer 2023-02-16 11:31:00 +01:00
Martijn Versteegh a17470faaf Merge branch 'main' into activatefirstnonhiddenlayer 2023-02-16 11:09:09 +01:00
Martijn Versteegh 6ecfa73d6a Change for existence of 'nonanonymous' layers instead of layernames starting wwith a . 2023-02-14 14:51:58 +01:00
Martijn Versteegh 2e69a2b9af Fix #104730: Make first visible CustomData layer active
When creating a CustomData layer with a name not starting with a dot
while all existing layers of the same type have names which do start
with a dot make the new layer the active/render/mask/clone layer.

It can be confusing if the render layers is a hidden/anonymous layer.
2023-02-14 13:17:39 +01:00