diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-03-10 22:46:31 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-03-10 22:46:31 +0400 |
commit | 623902ac511d3bd654fc21f304a4cba4ffa35e9f (patch) | |
tree | 9d2b89b640f746dfcd79a24519ea4b04bc14f6b5 /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | ca5f7b778c5cb44b6745e75174c91315aff685f9 (diff) |
Fix: stroke spacing fails in image editor, we need to account for
zooming because spacing used to happen in unscaled screen space
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index b0478bccd8c..bcf1775d8d4 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -126,6 +126,7 @@ struct ImagePaintPartialRedraw *get_imapaintpartial(void); void set_imapaintpartial(struct ImagePaintPartialRedraw * ippr); void imapaint_clear_partial_redraw(void); void imapaint_dirty_region(struct Image *ima, struct ImBuf *ibuf, int x, int y, int w, int h); +int get_imapaint_zoom(struct bContext *C, float *zoomx, float *zoomy); void *paint_2d_new_stroke(struct bContext *, struct wmOperator *); void paint_2d_redraw(const bContext *C, void *ps, int final); void paint_2d_stroke_done(void *ps); |