diff options
author | Hans Goudey <h.goudey@me.com> | 2022-06-21 22:15:18 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-06-21 22:15:18 +0300 |
commit | d901f8b75bf83160a962c21566cf29f2f87df8c6 (patch) | |
tree | bc046f511873fe6eab6f423a77dd0487d5aa744b /source/blender/makesrna/intern/rna_scene.c | |
parent | 714001683888770f9d870ba73edd65f4c2757bda (diff) |
Fix T98960: Baking to active color attribute uses wrong layer
Baking assumed that color attributes could only have two configurations:
float color data type on vertices, or byte color type on face corners.
In reality the options can be combined to make four total options.
This commit handles the four cases explicitly with a somewhat
more scaleable approach (though this should really be C++ code).
This commit also changes some related error messages, tooltips,
and an enum name, in order to make the functionality more obvious.
Differential Revision: https://developer.blender.org/D15244
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 9e2a1d81bd3..cc7df54e648 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -447,8 +447,8 @@ const EnumPropertyItem rna_enum_bake_target_items[] = { {R_BAKE_TARGET_VERTEX_COLORS, "VERTEX_COLORS", 0, - "Color Attributes", - "Bake to active color attribute layer on meshes"}, + "Active Color Attribute", + "Bake to the active color attribute on meshes"}, {0, NULL, 0, NULL, NULL}, }; |