Image Paint:
- Code for brush spacing and timing was rewritten, making spacing more even. Example: http://users.pandora.be/blendix/brush_spacing.jpg - Instead of Stepsize for regular brushes and Flow for airbrushes, there is now Spacing for both, and Rate for airbrushes. - Airbrush now works more like it does in the Gimp now, by maintaining the spacing even if the brush moves faster than the painting rate. - Some preparations to make brushes work in texture paint mode.
This commit is contained in:
@@ -835,7 +835,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
Object *ob= OBACT; /* do not change! */
|
||||
float *curs;
|
||||
int doredraw= 0, pupval;
|
||||
unsigned short event= evt->event;
|
||||
unsigned short event= evt->event, origevent= evt->event;
|
||||
short val= evt->val;
|
||||
char ascii= evt->ascii;
|
||||
|
||||
@@ -1011,7 +1011,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
vertex_paint();
|
||||
}
|
||||
else if (G.f & G_TEXTUREPAINT) {
|
||||
texturepaint_paint();
|
||||
texturepaint_paint(origevent==LEFTMOUSE? L_MOUSE: R_MOUSE);
|
||||
}
|
||||
break;
|
||||
case MIDDLEMOUSE:
|
||||
|
||||
Reference in New Issue
Block a user