From 13d4c0a5fbed0d46185abfdc528d71ba13dd2476 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 13 Jul 2004 20:53:51 +0000 Subject: LSCM: Fixed a bug where the projection axis for the initial solution was wrong, causing the solution to collapse into one point. Made packing denser (by reducing the padding between face groups). --- source/blender/src/editsima.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/src/editsima.c') diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index a55de075504..35c49cb9c04 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -123,11 +123,11 @@ static void setLinkedLimit(float *limit) { if(G.sima->image && G.sima->image->ibuf && G.sima->image->ibuf->x > 0 && G.sima->image->ibuf->y > 0) { - limit[0]= 5.0/(float)G.sima->image->ibuf->x; - limit[1]= 5.0/(float)G.sima->image->ibuf->y; + limit[0]= 0.5/(float)G.sima->image->ibuf->x; + limit[1]= 0.5/(float)G.sima->image->ibuf->y; } else - limit[0]= limit[1]= 5.0/256.0; + limit[0]= limit[1]= 0.5/256.0; } -- cgit v1.2.3