Fix T43324: Shrinkwrap projection issue in editmode.

Nice stupid error in low-level `get_cddm` helper, was probably affecting other
modifiers too actualy!
This commit is contained in:
Bastien Montagne 2015-01-30 12:48:49 +01:00
parent 7d543e7310
commit d8c20fbb66
Notes: blender-bot 2023-02-14 09:35:34 +01:00
Referenced by issue #43324, Shrinkwrap projection issue in editmode
1 changed files with 1 additions and 1 deletions

View File

@ -159,8 +159,8 @@ DerivedMesh *get_cddm(Object *ob, struct BMEditMesh *em, DerivedMesh *dm, float
if (dm) {
if (dm->type != DM_TYPE_CDDM) {
dm = CDDM_copy(dm);
CDDM_apply_vert_coords(dm, vertexCos);
}
CDDM_apply_vert_coords(dm, vertexCos);
if (use_normals) {
DM_ensure_normals(dm);