diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-26 22:40:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-26 22:40:55 +0400 |
commit | ca51930a90056aa3a65dcfc086ddd9ad19dcdf0f (patch) | |
tree | 8aab10f95727869b1e105a2ed9cb0a12f3cd84da /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | 9c85cdceb2544740682490a07a3d3f77612f9691 (diff) |
fix [#33068] Can't paint weights of some vertices in some situations.
old limitation where you could only paint onto one side of a mirrored mesh (weight paint, vertex paint).
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index df0fb8ec4f8..6c13f6efb74 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -54,6 +54,7 @@ struct wmOperator; struct wmOperatorType; struct ImagePaintState; struct wmWindowManager; +struct DMCoNo; enum PaintMode; /* paint_stroke.c */ @@ -115,6 +116,20 @@ void PAINT_OT_vertex_paint(struct wmOperatorType *ot); unsigned int vpaint_get_current_col(struct VPaint *vp); + +/* paint_vertex_proj.c */ +struct VertProjHandle; +struct VertProjHandle *ED_vpaint_proj_handle_create( + struct Scene *scene, struct Object *ob, + struct DMCoNo **r_vcosnos); +void ED_vpaint_proj_handle_update( + struct VertProjHandle *vp_handle, + /* runtime vars */ + struct ARegion *ar, const float mval_fl[2]); +void ED_vpaint_proj_handle_free( + struct VertProjHandle *vp_handle); + + /* paint_image.c */ typedef struct ImagePaintPartialRedraw { int x1, y1, x2, y2; /* XXX, could use 'rcti' */ |