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:
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);
}