diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-11-13 14:30:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-11-13 14:30:34 +0300 |
commit | fb4ff9e514707d930f2fc49b94beee5d56592ada (patch) | |
tree | e6272e7e49ba60618ae29cd9c4fc331b04656977 /source/blender/src/space.c | |
parent | c63c99d49ec38c722730624542b0252d16b759a6 (diff) |
* use the existing function to only update a part of the image, should increase speed a lot, except when painting on seams from opposite parts of the image. - can speed this up with multiple boundboxes - TODO.
* use brush spacing and airbrush settings
* draw a circle while in texture paint mode.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c index b6221c2f84b..cb31c3f2968 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -1306,6 +1306,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()) { |