diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-04-05 21:08:00 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2004-04-05 21:08:00 +0400 |
commit | 7ba91ad2da5ef7fa47c49f64e619f9fcec66054f (patch) | |
tree | 7a1d156f2c22d1ae115102ba813eba81ecdc57b6 /source/blender/src/butspace.c | |
parent | 9802db019d876be2cc2a9d177a5207fa3c721f31 (diff) |
New UV Calculation panel and code. The uv mapping function was split up into
multiple functions and partially recoded. Because now all the uv mapping
settings are accessible throught the panel, no popus will be shown when
pressing 'U' to unwrap faces in face select mode. Also From Window to Cylinder
and From Window to Shpere became obsolete, as you can set this in the new
panel.
The panel contains buttons for all the existing uv mapping modes, and the
following settings:
- Cube size: For Cubical unwrapping.
- Radius: Radius for Cylindrical unwrapping.
- View Aligns Face, View Aligns Top, Align to Object: For Cylinder and Shpere.
Respectively means you are in front of the Cylinder/Sphere, look through the
Cylinder, or use the object rotation to determine how the cylinder is
positioned (old Cylindrical unwrapping).
- Polar XZ, Polar XY: With 'View Aligns Top' enabled, defines at which polar
you are looking.
- No Edges, Draw Edges, All Edges: Draw no edges, draw edges z-buffered on top,
draw all edges, without depth test.
All credits for this part (and also at least half of the other UV editor
improvements) go to Jens Ole Wund aka "bjornmose".
Diffstat (limited to 'source/blender/src/butspace.c')
-rw-r--r-- | source/blender/src/butspace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/butspace.c b/source/blender/src/butspace.c index 1bb4d9e48ca..9727c43688c 100644 --- a/source/blender/src/butspace.c +++ b/source/blender/src/butspace.c @@ -315,6 +315,9 @@ void do_butspace(unsigned short event) else if(event<=B_CONSTRAINTBUTS) { do_constraintbuts(event); } + else if(event<=B_UVAUTOCALCBUTS) { + do_uvautocalculationbuts(event); + } else if(event==REDRAWVIEW3D) allqueue(event, 1); // 1=do header too else if(event>REDRAWVIEW3D) allqueue(event, 0); } |