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:
authorCampbell Barton <ideasman42@gmail.com>2021-12-09 12:11:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-09 12:11:29 +0300
commit15a428eab0e0a0ca63953d71e8fc719e4a06c612 (patch)
tree7d4581c41890bb589fed0fffe917dd87a3b4eac8 /source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h
parent8aed5dbcf8e05675be8128b6197026e480622254 (diff)
Cleanup: move public doc-strings into headers for 'gpencil_modifiers'
Removed doc-strings for operator definitions as they didn't provide useful information in addition to the operators own description. Ref T92709
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencil_util.h6
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);