diff options
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h b/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h index 2878ad4c73a..59ed11a02f3 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h @@ -29,6 +29,9 @@ struct Object; struct bGPDlayer; struct bGPDstroke; +/** + * Verify if valid layer, material and pass index. + */ bool is_stroke_affected_by_modifier(struct Object *ob, char *mlayername, const struct Material *material, @@ -42,4 +45,7 @@ bool is_stroke_affected_by_modifier(struct Object *ob, const bool inv3, const bool inv4); +/** + * Verify if valid vertex group *and return weight. + */ float get_modifier_point_weight(struct MDeformVert *dvert, bool inverse, int def_nr); |