== Grease Pencil Eraser - Tweaks ==

Improved accuracy of the eraser a bit. Now it does a boundbox test first before trying to erase strokes, which means that other (rather unrelated) strokes are less likely to be affected as well.
This commit is contained in:
2008-07-31 12:23:29 +00:00
parent db82e15e6f
commit d66449996c
3 changed files with 97 additions and 78 deletions

View File

@@ -34,8 +34,10 @@ struct Base;
struct Object;
struct Camera;
struct View3D;
struct rcti;
void arrows_move_cursor(unsigned short event);
void lasso_select_boundbox(struct rcti *rect, short mcords[][2], short moves);
int lasso_inside(short mcords[][2], short moves, short sx, short sy);
int lasso_inside_edge(short mcords[][2], short moves, int x0, int y0, int x1, int y1);
void borderselect(void);