[Bf-blender-cvs] [8877e294dfd] master: Surface Deform: the Strength setting is not bind-specific.
Alexander Gavrilov
noreply at git.blender.org
Fri Jan 8 10:25:12 CET 2021
Commit: 8877e294dfd680f0ad9c1598b6462dd726cc46f3
Author: Alexander Gavrilov
Date: Fri Jan 8 12:22:11 2021 +0300
Branches: master
https://developer.blender.org/rB8877e294dfd680f0ad9c1598b6462dd726cc46f3
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
===================================================================
M source/blender/modifiers/intern/MOD_surfacedeform.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list