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:
-rw-r--r--source/blender/src/vpaint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c
index e1222394518..36317c7f2d7 100644
--- a/source/blender/src/vpaint.c
+++ b/source/blender/src/vpaint.c
@@ -798,6 +798,7 @@ void weight_paint(void)
// if(me->tface==NULL && me->mcol==NULL) return;
+ persp(PERSP_VIEW);
/* imat for normals */
Mat4MulMat4(mat, ob->obmat, G.vd->viewmat);
Mat4Invert(imat, mat);
@@ -956,6 +957,7 @@ void vertex_paint()
if(me->tface==NULL && me->mcol==NULL) return;
+ persp(PERSP_VIEW);
/* imat for normals */
Mat4MulMat4(mat, ob->obmat, G.vd->viewmat);
Mat4Invert(imat, mat);