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:
Diffstat (limited to 'source/blender/modifiers/intern/MOD_cast.c')
-rw-r--r--source/blender/modifiers/intern/MOD_cast.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c
index 4cb73289636..b562152d906 100644
--- a/source/blender/modifiers/intern/MOD_cast.c
+++ b/source/blender/modifiers/intern/MOD_cast.c
@@ -199,8 +199,9 @@ static void sphere_do(CastModifierData *cmd,
}
if (dvert) {
- const float weight = invert_vgroup ? 1.0f - defvert_find_weight(&dvert[i], defgrp_index) :
- defvert_find_weight(&dvert[i], defgrp_index);
+ const float weight = invert_vgroup ?
+ 1.0f - BKE_defvert_find_weight(&dvert[i], defgrp_index) :
+ BKE_defvert_find_weight(&dvert[i], defgrp_index);
if (weight == 0.0f) {
continue;
@@ -370,8 +371,9 @@ static void cuboid_do(CastModifierData *cmd,
}
if (dvert) {
- const float weight = invert_vgroup ? 1.0f - defvert_find_weight(&dvert[i], defgrp_index) :
- defvert_find_weight(&dvert[i], defgrp_index);
+ const float weight = invert_vgroup ?
+ 1.0f - BKE_defvert_find_weight(&dvert[i], defgrp_index) :
+ BKE_defvert_find_weight(&dvert[i], defgrp_index);
if (weight == 0.0f) {
continue;