Blender Git Commit Log
Git Commits -> Revision 565510b
Revision 565510b by Brecht Van Lommel (master) September 9, 2020, 15:01 (GMT) |
Geometry: add .attributes in the Python API for Mesh, Hair and Point Cloud This puts all generic float/int/vector/color/string geometry attributes in a new .attributes property. For meshes it provides a more general API for existing attributes, for point clouds attributes will be used as an essential part of particle nodes. This patch was implemented by @lichtwerk, with further changes by me. It's still a work in progress, but posting here to show what is going on and for early feedback. Ref T76659 Differential Revision: https://developer.blender.org/D8200 |
Commit Details:
Full Hash: 565510bd7fd87ae146cabafb27f1dfd550450f58
Parent Commit: a5db981
Lines Changed: +1187, -41
3 Added Paths:
/source/blender/blenkernel/BKE_attribute.h (+82, -0) (View)
/source/blender/blenkernel/intern/attribute.c (+291, -0) (View)
/source/blender/makesrna/intern/rna_attribute.c (+662, -0) (View)
/source/blender/blenkernel/intern/attribute.c (+291, -0) (View)
/source/blender/makesrna/intern/rna_attribute.c (+662, -0) (View)
14 Modified Paths:
/source/blender/blenkernel/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+23, -33) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+5, -5) (Diff)
/source/blender/makesdna/DNA_hair_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_pointcloud_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_pointcloud.c (+2, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+12, -0) (Diff)
/source/blender/python/bmesh/bmesh_py_types_customdata.c (+84, -3) (Diff)
/source/blender/blenkernel/intern/customdata.c (+23, -33) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+5, -5) (Diff)
/source/blender/makesdna/DNA_hair_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_pointcloud_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_pointcloud.c (+2, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+12, -0) (Diff)
/source/blender/python/bmesh/bmesh_py_types_customdata.c (+84, -3) (Diff)