diff options
author | Joshua Leung <aligorith@gmail.com> | 2017-06-07 18:07:57 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2017-06-07 18:23:31 +0300 |
commit | d25ab3fcc44ef2e58a1cca197948f3f362b4cc80 (patch) | |
tree | f7e496b5fc13dc2d8d282e74d3462ce01be623fb /source/blender/editors/gpencil/gpencil_intern.h | |
parent | 2bd49785f9d8bad39bd5687dfff022022cccc63f (diff) |
Fix: GP Clone brush was not correcting color references for pasted strokes either
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 5c7c9b84adb..13af06fd4fd 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -40,6 +40,8 @@ struct bGPdata; struct bGPDstroke; struct bGPDspoint; +struct GHash; + struct ARegion; struct View2D; struct wmOperatorType; @@ -155,6 +157,9 @@ int gp_brush_crt_presets_poll(bContext *C); extern ListBase gp_strokes_copypastebuf; +/* Build a map for converting between old colornames and destination-color-refs */ +struct GHash *gp_copybuf_validate_colormap(bGPdata *gpd); + /* Stroke Editing ------------------------------------ */ void gp_stroke_delete_tagged_points(bGPDframe *gpf, bGPDstroke *gps, bGPDstroke *next_stroke, int tag_flags); |