Blender Git Loki

Git Commits -> Revision 7a55066

Revision 7a55066 by Joseph Eagar (sculpt-dev)
November 17, 2021, 05:58 (GMT)
Sculpt-dev: Add support for attribute triplets

It simply wasn't maintainable to store active/render
vertex color layer as integer indices into the
global attribute list. Making that work would've
required a great deal of boilerplate that would
have to be inserted in lots of places. There
is simply no justification for doing that.

Instead, I've coded an AttributeRef struct that
simply stores a (type, name, domain) triplet to
uniquely reference an attribute layer.

This will be submitted as a patch for master
too.

Commit Details:

Full Hash: 7a55066b188feea45e71d5906914ba11f5546b60
Parent Commit: b2c64e2
Lines Changed: +278, -342

15 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_mesh.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_attribute.h (+28, -3) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/attribute.c (+126, -86) (Diff)
/source/blender/blenkernel/intern/fluid.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh.cc (+0, -193) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+54, -0) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_convert.c (+6, -20) (Diff)
/source/blender/draw/intern/mesh_extractors/extract_mesh_vbo_vcol.cc (+1, -1) (Diff)
/source/blender/editors/geometry/geometry_attributes.c (+3, -1) (Diff)
/source/blender/io/alembic/intern/abc_reader_mesh.cc (+1, -1) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+10, -2) (Diff)
/source/blender/makesrna/intern/rna_attribute.c (+38, -29) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_brush_engine.c (+4, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021