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-07 21:44:47 +0300
committerTon Roosendaal <ton@blender.org>2003-12-07 21:44:47 +0300
commita72fcb115bf28acd22fec078d87b11bee6305435 (patch)
tree8754adad9983ac794c9609958db956746feec2cf /source/blender/src/editface.c
parentdae2b1740031024e70b81a6775a1d39b675e3a87 (diff)
- fixed texture paint mode... and that all caused by fixing another bug!
again - reminder to self - the 3d window leaves in ortho mode default, and for evaluating it in 3d view you have to call persp(PERSP_VIEW)
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r--source/blender/src/editface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c
index 7a30c7230bc..6e2b054382d 100644
--- a/source/blender/src/editface.c
+++ b/source/blender/src/editface.c
@@ -442,6 +442,7 @@ TFace* face_pick(Mesh *me, short x, short y)
}
if (G.vd->flag & V3D_NEEDBACKBUFDRAW) {
backdrawview3d(0);
+ persp(PERSP_VIEW);
}
/* Read the pixel under the cursor */
#ifdef __APPLE__
@@ -1247,6 +1248,8 @@ void face_draw()
error("Can not create brush"); return;
}
+ persp(PERSP_VIEW);
+
getmouseco_areawin(xy_old);
while (get_mbut() & L_MOUSE) {
getmouseco_areawin(xy);
@@ -1356,6 +1359,8 @@ void face_draw()
error("Painting in packed images not supported: %s", warn_packed_file);
}
+ persp(PERSP_WIN);
+
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWIMAGE, 0);
allqueue(REDRAWHEADERS, 0);