Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-06-05 11:52:21 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-06-05 16:11:08 +0300
commitabeda01ac6da28564ad1b37d8ac09af75da96eba (patch)
treeee6e75977341f16930264602dd1b03042dc2022c /source/blender/editors/include
parent67b17684e699edc3bbd303420c86e31b6af7007f (diff)
GPencil: Improve Vertex Paint in filled areas
When use the Tint tool, it was very difficult to tint the filled areas if the strokes had very few points or the area was big. Differential Revision: https://developer.blender.org/D7936
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_gpencil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_gpencil.h b/source/blender/editors/include/ED_gpencil.h
index 58364e69679..0c228fc962b 100644
--- a/source/blender/editors/include/ED_gpencil.h
+++ b/source/blender/editors/include/ED_gpencil.h
@@ -317,6 +317,10 @@ bool ED_gpencil_stroke_check_collision(struct GP_SpaceConversion *gsc,
float mouse[2],
const int radius,
const float diff_mat[4][4]);
+bool ED_gpencil_stroke_point_is_inside(struct bGPDstroke *gps,
+ struct GP_SpaceConversion *gsc,
+ int mouse[2],
+ const float diff_mat[4][4]);
#ifdef __cplusplus
}