[Bf-blender-cvs] [d8c20fb] master: Fix T43324: Shrinkwrap projection issue in editmode.

Bastien Montagne noreply at git.blender.org
Fri Jan 30 12:54:44 CET 2015


Commit: d8c20fbb6628a40cd83f1ecac5d0838c07100b24
Author: Bastien Montagne
Date:   Fri Jan 30 12:48:49 2015 +0100
Branches: master
https://developer.blender.org/rBd8c20fbb6628a40cd83f1ecac5d0838c07100b24

Fix T43324: Shrinkwrap projection issue in editmode.

Nice stupid error in low-level `get_cddm` helper, was probably affecting other
modifiers too actualy!

===================================================================

M	source/blender/modifiers/intern/MOD_util.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c
index 62a7dde..fe83166 100644
--- a/source/blender/modifiers/intern/MOD_util.c
+++ b/source/blender/modifiers/intern/MOD_util.c
@@ -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);




More information about the Bf-blender-cvs mailing list