Blender Git Loki
Git Commits -> Revision 39de0b7
Revision 39de0b7 by Philipp Oeser (master) September 17, 2020, 20:39 (GMT) |
Pointclouds: support mesh <-> pointcloud in convert operator Just converts verts to points and vice versa. Materials and Attribute layers are preserved (so for example if you set custom radii on the pointcloud, convert to mesh, then convert back to pointcloud, this will be preserved). Also not add a Radius layer by default (it is still added and filled when adding a pointcloud object from the menu), a global Radius property that will be used if there is no radius attribute can be added later. A Radius attribute can also be added in the pointcloud data properties (and filled via python). This will also add a new utility function that copies materials between datablocks: BKE_id_materials_copy ref T75717 Differential Revision: https://developer.blender.org/D7391 |
Commit Details:
Full Hash: 39de0b79fd635ed67e8b1816c32199177d7f9f07
Parent Commit: 9ee588c
Lines Changed: +220, -11
9 Modified Paths:
/source/blender/blenkernel/BKE_material.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+11, -0) (Diff)
/source/blender/blenkernel/BKE_pointcloud.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+21, -0) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+97, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/pointcloud.c (+19, -10) (Diff)
/source/blender/editors/object/CMakeLists.txt (+5, -0) (Diff)
/source/blender/editors/object/object_add.c (+59, -0) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+11, -0) (Diff)
/source/blender/blenkernel/BKE_pointcloud.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+21, -0) (Diff)
/source/blender/blenkernel/intern/mesh_convert.c (+97, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/pointcloud.c (+19, -10) (Diff)
/source/blender/editors/object/CMakeLists.txt (+5, -0) (Diff)
/source/blender/editors/object/object_add.c (+59, -0) (Diff)