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/space.c')
-rw-r--r--source/blender/src/space.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index e34624a25fe..4267159baee 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1307,6 +1307,14 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
}
}
}
+ else if (!G.obedit && OBACT && G.f&G_TEXTUREPAINT){
+ if(G.scene->toolsettings->imapaint.brush &&
+ event!=LEFTMOUSE && event!=RIGHTMOUSE && event!=MIDDLEMOUSE &&
+ (event==MOUSEY || event==MOUSEX) && bwin_qtest(sa->win)==0) {
+ allqueue(REDRAWVIEW3D, 0);
+ }
+ }
+
/* Handle retopo painting */
if(retopo_mesh_paint_check()) {