diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-13 06:14:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-13 06:19:34 +0300 |
commit | 9f5833798caf9581c2d781f4e2f8b95acb1560e0 (patch) | |
tree | 2c216f13fb90244a2160959faa754f0e327836d7 /source/blender/blenkernel/BKE_armature.h | |
parent | a35de34eb78aba5e08938066c0ecdcb05f677a8f (diff) |
Modifier: skip edit-mesh conversion for armature, curve & lattice
This is an improvement over 2.7x which converted edit-mesh to mesh
(CDDM) for all 3 modifiers.
Overall this increases performance in edit-mode by around 15-20%.
Diffstat (limited to 'source/blender/blenkernel/BKE_armature.h')
-rw-r--r-- | source/blender/blenkernel/BKE_armature.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_armature.h b/source/blender/blenkernel/BKE_armature.h index 30a1644af39..7572c3cb452 100644 --- a/source/blender/blenkernel/BKE_armature.h +++ b/source/blender/blenkernel/BKE_armature.h @@ -28,6 +28,7 @@ extern "C" { #endif +struct BMEditMesh; struct Bone; struct Depsgraph; struct ListBase; @@ -371,6 +372,16 @@ void BKE_armature_deform_coords_with_mesh(struct Object *ob_arm, const char *defgrp_name, const struct Mesh *me_target); +void BKE_armature_deform_coords_with_editmesh(struct Object *ob_arm, + struct Object *ob_target, + float (*vert_coords)[3], + float (*vert_deform_mats)[3][3], + int vert_coords_len, + int deformflag, + float (*vert_coords_prev)[3], + const char *defgrp_name, + struct BMEditMesh *em_target); + /** \} */ #ifdef __cplusplus |