Blender Git Loki
Git Commits -> Revision 7efc75c
Revision 7efc75c by Sybren A. Stüvel (master) May 1, 2018, 16:02 (GMT) |
Modifiers: Simple Deform & Build, DerivedMesh ? Mesh This commit introduces `EditMeshData`. The fields in this struct are extracted from `EditDerivedBMesh` into their own struct `EditMeshData`, which can then also be used by the `Mesh` struct. This allows passing deformed vertices efficiently to the draw routines. The modifier code constructs a new Mesh instead of writing to ob->data; even when ob->data is a CoW copy, it can still be used by different objects and thus shouldn't be modified by a modifier. |
Commit Details:
Full Hash: 7efc75c7092b085fe3f5ef2dcab3669d466dfadc
Parent Commit: be4df85
Lines Changed: +375, -184
11 Modified Paths:
/source/blender/blenkernel/BKE_mesh.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+22, -4) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+54, -60) (Diff)
/source/blender/blenkernel/intern/mesh.c (+77, -0) (Diff)
/source/blender/blenkernel/intern/modifier.c (+72, -30) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+54, -10) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+14, -0) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+43, -46) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+13, -34) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+16, -0) (Diff)
/source/blender/modifiers/intern/MOD_util.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+22, -4) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+54, -60) (Diff)
/source/blender/blenkernel/intern/mesh.c (+77, -0) (Diff)
/source/blender/blenkernel/intern/modifier.c (+72, -30) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+54, -10) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+14, -0) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+43, -46) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+13, -34) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+16, -0) (Diff)
/source/blender/modifiers/intern/MOD_util.h (+2, -0) (Diff)