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:
authorAlexander Gavrilov <angavrilov@gmail.com>2021-01-08 12:22:11 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2021-01-08 12:24:50 +0300
commit8877e294dfd680f0ad9c1598b6462dd726cc46f3 (patch)
tree2da2fdc00eac268df196355d4eb3469c712dbb44 /source/blender/modifiers
parent662b7c3edfcd64ca59a6ba2999eac583fc14cbaa (diff)
Surface Deform: the Strength setting is not bind-specific.
It is used during evaluation so it shouldn't be greyed out in the UI. Ref D10040
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_surfacedeform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_surfacedeform.c b/source/blender/modifiers/intern/MOD_surfacedeform.c
index 5eed2964e70..0fad78683eb 100644
--- a/source/blender/modifiers/intern/MOD_surfacedeform.c
+++ b/source/blender/modifiers/intern/MOD_surfacedeform.c
@@ -1459,9 +1459,9 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
col = uiLayoutColumn(layout, false);
uiLayoutSetActive(col, !is_bound);
uiItemR(col, ptr, "target", 0, NULL, ICON_NONE);
-
uiItemR(col, ptr, "falloff", 0, NULL, ICON_NONE);
- uiItemR(col, ptr, "strength", 0, NULL, ICON_NONE);
+
+ uiItemR(layout, ptr, "strength", 0, NULL, ICON_NONE);
modifier_vgroup_ui(layout, ptr, &ob_ptr, "vertex_group", "invert_vertex_group", NULL);