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:
authorTon Roosendaal <ton@blender.org>2004-04-20 02:05:37 +0400
committerTon Roosendaal <ton@blender.org>2004-04-20 02:05:37 +0400
commitdfc824a13457c724b6e86606c4586036bc39cf71 (patch)
tree7df1354cfb50c8e72db45e1d9089f73b2d004db8 /source/blender/src/editsima.c
parentbf253660b773dd904cb13bb2f0c05c80890ef5cd (diff)
Preparations to have Panels in all window types. Also implemented
it for the UV Image window (as Nkey replacement). Blendix can take this further now. Other little improvement: vertices in UV window now draw unselected first, and then selected over it. Less confusing! Next spaces: Action and Nla.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index 54dccca6512..d8d31c307f1 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -98,7 +98,7 @@ static int compuvvert(const void *u1, const void *u2)
return 0;
}
-static int is_uv_tface_editing_allowed(void)
+int is_uv_tface_editing_allowed(void)
{
Mesh *me;
@@ -1132,14 +1132,7 @@ void mouse_select_sima(void)
*flagpoin |= val;
}
- if(redraw || G.f & G_DRAWFACES) force_draw();
- else {
- glDrawBuffer(GL_FRONT);
- draw_tfaces();
- /*at OSX, a flush pops up the "frontbuffer" (it does a swap, doh!)*/
- glFlush();
- glDrawBuffer(GL_BACK);
- }
+ force_draw();
std_rmouse_transform(transform_tface_uv);
}