diff options
author | Ton Roosendaal <ton@blender.org> | 2003-12-08 20:24:28 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-12-08 20:24:28 +0300 |
commit | 825c40ed6af370e078b514c83ded95cf82b89a37 (patch) | |
tree | 469ba731f698b4a630ec9df87f156f74ec95afc5 | |
parent | 77d934a81367fef239ec12c3c64b041173da565d (diff) |
- and another fix needed due to the change in view3d matrices...
This one is the UV coord calculate function for FaceSelect mode.
-rw-r--r-- | source/blender/src/editface.c | 4 |
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); } |