Created by: portnov
This adds "material index" sockets to several nodes:
- Obj In Mk3
- Adaptive Polys
- Remove Doubles
- BMesh Viewer
Such sockets would allow to generate meshes with different materials assigned to different faces.
I think, many sockets may benefit from having such sockets. Also, it seems that bmesh operators are already doing "the right thing" with materials (though I could not find documentation about this behavior, yet). For example, if we assign materials to bmesh faces, then do remove_doubles, then faces of the resulting mesh will have correct materials.
@zeffii @Durman @vicdoval your thoughts?
Preflight checklist
Put an x letter in each brackets when you're done this item:
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.