diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-27 22:59:12 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-27 22:59:12 +0300 |
commit | 4977609832e897aeb864f8642c3ff0983422d6d6 (patch) | |
tree | 1506eb09f77ad583c3a37b00547068db9ee7e9fe /source | |
parent | d95d110d8d72846ca6ac4ce3b58ff04274b1a17a (diff) |
Fix for bug #18066: made UV Unwrap > Reset same as the default UV
coordinates when creating a new layer.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c index 53fb6dbffb1..9872469030a 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -631,15 +631,15 @@ void default_uv(float uv[][2], float size) dy= 1.0-size; uv[0][0]= 0; - uv[0][1]= size+dy; + uv[0][1]= dy; - uv[1][0]= 0; + uv[1][0]= size; uv[1][1]= dy; uv[2][0]= size; - uv[2][1]= dy; - - uv[3][0]= size; + uv[2][1]= size+dy; + + uv[3][0]= 0; uv[3][1]= size+dy; } |