diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-07-14 00:53:51 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-07-14 00:53:51 +0400 |
commit | 13d4c0a5fbed0d46185abfdc528d71ba13dd2476 (patch) | |
tree | 4d9c9d43710efeeae2fe5419ed1e2f1895cf5bce /source/blender/src/editsima.c | |
parent | 419e5a6a0b286492342e0bb98c74017e8c293d27 (diff) |
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).
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r-- | source/blender/src/editsima.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |