Blender Git Loki

Git Commits -> Revision 0569618

Revision 0569618 by Joseph Eagar (sculpt-dev)
November 9, 2021, 08:11 (GMT)
Sculpt-dev: get vcol render layer working

* Mesh now has a render_color_index member.
+ We really need an attribute ref system
based on (domain, type, name) triplets.
* RNA uses render_color_index in all three
cases (loop colors, vert colors, and
the generic attribute types).
* PBVH draw uses render_color_index too.

Commit Details:

Full Hash: 056961857897531b30cb0ef355fcfcf90f32328d
Parent Commit: f0d0369
Lines Changed: +450, -113

18 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_mesh.py (+3, -2) (Diff)
/source/blender/blenkernel/BKE_attribute.h (+8, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+12, -12) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/attribute.c (+134, -1) (Diff)
/source/blender/blenkernel/intern/mesh.cc (+72, -40) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+37, -2) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+3, -3) (Diff)
/source/blender/bmesh/intern/bmesh_mesh_convert.c (+11, -21) (Diff)
/source/blender/draw/intern/mesh_extractors/extract_mesh_vbo_vcol.cc (+8, -1) (Diff)
/source/blender/editors/geometry/geometry_attributes.c (+5, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+1, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+2, -2) (Diff)
/source/blender/gpu/GPU_buffers.h (+4, -3) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+24, -16) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_attribute.c (+104, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+19, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021