diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-10-01 13:13:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-10-01 13:13:38 +0300 |
commit | 9f9dbaf22b19399396f7aa9a22a8cb5b43e82171 (patch) | |
tree | e39c135a74be1c534858b6c6aa6fe3505ccb5178 /source/blender/modifiers/intern/MOD_subsurf.c | |
parent | f18725662474e921fb31f2c8f80d1dc2e27ed065 (diff) |
Fix some inactive modifier properties not being editable
The convention is to keep inactive settings editable even if they are grayed
out for having no effect due to other settings.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_subsurf.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_subsurf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c index 10d7b21d56f..2fb98bd1def 100644 --- a/source/blender/modifiers/intern/MOD_subsurf.c +++ b/source/blender/modifiers/intern/MOD_subsurf.c @@ -469,7 +469,7 @@ static void advanced_panel_draw(const bContext *C, Panel *panel) uiItemR(layout, ptr, "use_limit_surface", 0, NULL, ICON_NONE); uiLayout *col = uiLayoutColumn(layout, true); - uiLayoutSetEnabled(col, RNA_boolean_get(ptr, "use_limit_surface")); + uiLayoutSetActive(col, RNA_boolean_get(ptr, "use_limit_surface")); uiItemR(col, ptr, "quality", 0, NULL, ICON_NONE); uiItemR(layout, ptr, "uv_smooth", 0, NULL, ICON_NONE); |