Blender Git Loki
Git Commits -> Revision e7d2e5f
Revision e7d2e5f by Lukas Toenne (master) February 16, 2015, 11:26 (GMT) |
Extended RNA support for mesh customdata property layers. Support for user-defined customdata layers (named int, float, string layers) was limited to polygon customdata. This is not accessible in cycles because only tessfaces are used there. Furthermore the polygon attributes were simply described as MeshFloatProperty, MeshIntProperty, MeshStringProperty, omitting the distinction by element type. The patch only adds vertex attributes so far. However, the code now explicitly defines polygon and vertex attributes, so adding edges, loops and tessfaces is much easier should the need arise. Problem is that the RNA definition, which is already much more complicated than the basic DNA/BKE definition of custom properties, now becomes extremely bloated and cumbersome. A simpler solution would be preferable but may not be possible within the constraints of RNA. |
Commit Details:
Full Hash: e7d2e5ffbc43afdee55ad91c0d60e83f8b688437
Parent Commit: 9daac19
Lines Changed: +371, -193
1 Modified Path:
/source/blender/makesrna/intern/rna_mesh.c (+371, -193) (Diff)