Fix #107067: Properly clear CD_FLAG_ACTIVE/DEFAULT_COLOR flags #107146

Closed
Martijn Versteegh wants to merge 2 commits from Baardaap:fixwrongcolorattribactive into main

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

2 Commits

Author SHA1 Message Date
Martijn Versteegh 776e9c5b9a Merge branch 'main' into fixwrongcolorattribactive 2023-04-19 22:06:12 +02:00
Martijn Versteegh 9f8c64630a Fix #107067: Properly clear CD_FLAG_ACTIVE/DEFAULT_COLOR flags
Runtime this information is stored in the active_color_attribute and
default_color_attribute strings on the mesh, however when saving it
is still saved in the old format with flags on the CustomData layers.
When converting from the strings to the layers not all flags were
properly cleared from the CustomData layers, leading to multiple
layers having the CD_FLAG_COLOR_ACTIVE/RENDER flag.
2023-04-19 21:50:29 +02:00