Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2004-04-05 21:08:00 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2004-04-05 21:08:00 +0400
commit7ba91ad2da5ef7fa47c49f64e619f9fcec66054f (patch)
tree7a1d156f2c22d1ae115102ba813eba81ecdc57b6 /source/blender/src/editsima.c
parent9802db019d876be2cc2a9d177a5207fa3c721f31 (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/editsima.c')
-rw-r--r--source/blender/src/editsima.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index a0a94caa2a9..54dccca6512 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -1132,9 +1132,7 @@ void mouse_select_sima(void)
*flagpoin |= val;
}
- if(redraw || G.f & G_DRAWFACES) {
- force_draw_plus(SPACE_VIEW3D);
- }
+ if(redraw || G.f & G_DRAWFACES) force_draw();
else {
glDrawBuffer(GL_FRONT);
draw_tfaces();
@@ -1281,7 +1279,7 @@ void uvedit_selectionCB(short selecting, Object *editobj, short *mval, float rad
if(G.f & G_DRAWFACES) { /* full redraw only if necessary */
draw_sel_circle(0, 0, 0, 0, 0); /* signal */
- force_draw_plus(SPACE_VIEW3D);
+ force_draw();
}
else { /* force_draw() is no good here... */
glDrawBuffer(GL_FRONT);