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
This commit is contained in:
Alexander Gavrilov 2021-01-08 12:22:11 +03:00
parent 662b7c3edf
commit 8877e294df
1 changed files with 2 additions and 2 deletions

View File

@ -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);