diff options
author | Campbell Barton <campbell@blender.org> | 2022-11-08 08:58:37 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-11-08 08:58:37 +0300 |
commit | 642ff82f749dc480875e2047eb5e9a9227f59093 (patch) | |
tree | 337729f263df8cc9ead4bd43e033a7a7d41a43ea /source/blender/modifiers | |
parent | 3c1fb9aea1c843f9a60e538505eadfce95fdf728 (diff) |
Cleanup: format, remove commented code & unused variable
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_ui_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_ui_common.c b/source/blender/modifiers/intern/MOD_ui_common.c index e882435077a..0f6c40610a0 100644 --- a/source/blender/modifiers/intern/MOD_ui_common.c +++ b/source/blender/modifiers/intern/MOD_ui_common.c @@ -352,7 +352,8 @@ static void modifier_panel_header(const bContext *C, Panel *panel) buttons_number++; } /* Some modifiers can work with pre-tessellated curves only. */ - else if (ELEM(md->type, eModifierType_Hook, eModifierType_Softbody, eModifierType_MeshDeform)) { + else if (ELEM( + md->type, eModifierType_Hook, eModifierType_Softbody, eModifierType_MeshDeform)) { /* Add button (appearing to be ON) and add tip why this can't be changed. */ sub = uiLayoutRow(row, true); uiBlock *block = uiLayoutGetBlock(sub); |