diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-04-25 13:21:07 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-05-01 19:02:17 +0300 |
commit | 4211d02ab5685f73da6a85a0c130ccf704c66de8 (patch) | |
tree | 8b92fea86048101441cdeb888429bd84fcc581b1 /source/blender/blenkernel/intern/mesh.c | |
parent | eb6fc05f25d669eab8f0f8c0d19bb92addd1033d (diff) |
Modifiers: Mirror DerivedMesh → Mesh
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 24a069a8ed1..35af7196524 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -44,12 +44,14 @@ #include "BLI_memarena.h" #include "BLI_edgehash.h" #include "BLI_string.h" +#include "BLI_utildefines_stack.h" #include "BKE_animsys.h" #include "BKE_main.h" #include "BKE_DerivedMesh.h" #include "BKE_global.h" #include "BKE_mesh.h" +#include "BKE_mesh_mapping.h" #include "BKE_displist.h" #include "BKE_library.h" #include "BKE_library_query.h" @@ -612,7 +614,7 @@ void BKE_mesh_copy_data(Main *bmain, Mesh *me_dst, const Mesh *me_src, const int } static Mesh *mesh_from_template_ex( - Mesh *me_src, + const Mesh *me_src, int numVerts, int numEdges, int numTessFaces, int numLoops, int numPolys, CustomDataMask mask) @@ -646,7 +648,7 @@ static Mesh *mesh_from_template_ex( return me_dst; } -Mesh * BKE_mesh_from_template(Mesh *me_src, +Mesh * BKE_mesh_from_template(const Mesh *me_src, int numVerts, int numEdges, int numTessFaces, int numLoops, int numPolys) { @@ -2717,6 +2719,7 @@ Mesh *BKE_mesh_new_from_object( return tmpmesh; } + /* **** Depsgraph evaluation **** */ void BKE_mesh_eval_geometry(Depsgraph *UNUSED(depsgraph), |