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>2003-12-08 20:24:28 +0300
committerTon Roosendaal <ton@blender.org>2003-12-08 20:24:28 +0300
commit825c40ed6af370e078b514c83ded95cf82b89a37 (patch)
tree469ba731f698b4a630ec9df87f156f74ec95afc5 /source/blender/src/editface.c
parent77d934a81367fef239ec12c3c64b041173da565d (diff)
- and another fix needed due to the change in view3d matrices...
This one is the UV coord calculate function for FaceSelect mode.
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r--source/blender/src/editface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c
index 6e2b054382d..202a7232223 100644
--- a/source/blender/src/editface.c
+++ b/source/blender/src/editface.c
@@ -637,6 +637,8 @@ void uv_autocalc_tface()
int a, b;
short cox, coy, mode, adr[2];
+ persp(PERSP_VIEW);
+
me= get_mesh(ob=OBACT);
if(me==0 || me->tface==0) return;
if(me->totface==0) return;
@@ -921,6 +923,8 @@ void uv_autocalc_tface()
allqueue(REDRAWIMAGE, 0);
myloadmatrix(G.vd->viewmat);
MTC_Mat4SwapMat4(G.vd->persmat, mat);
+
+ persp(PERSP_WIN);
}