[Bf-blender-cvs] [6e02f1d] master: BMesh: use inverse-square falloff /w smooth-subdiv

Campbell Barton noreply at git.blender.org
Sun Apr 26 10:37:39 CEST 2015


Commit: 6e02f1da74a52302a79dfdaaa96d207002399c25
Author: Campbell Barton
Date:   Sun Apr 26 18:35:42 2015 +1000
Branches: master
https://developer.blender.org/rB6e02f1da74a52302a79dfdaaa96d207002399c25

BMesh: use inverse-square falloff /w smooth-subdiv

Resolves ugly artifacts with multi-cut.

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

M	source/blender/editors/mesh/editmesh_tools.c

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

diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index 93ebbbc..6149631 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -96,7 +96,7 @@ static int edbm_subdivide_exec(bContext *C, wmOperator *op)
 	}
 	
 	BM_mesh_esubdivide(em->bm, BM_ELEM_SELECT,
-	                   smooth, SUBD_FALLOFF_ROOT, false,
+	                   smooth, SUBD_FALLOFF_INVSQUARE, false,
 	                   fractal, along_normal,
 	                   cuts,
 	                   SUBDIV_SELECT_ORIG, RNA_enum_get(op->ptr, "quadcorner"),




More information about the Bf-blender-cvs mailing list