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:
authorAntonio Vazquez <blendergit@gmail.com>2022-11-08 18:29:56 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-11-08 18:29:56 +0300
commitaa9b976e9f9b8baff194f5bfadcf9e7694cf8d15 (patch)
treeb30ce7abaa65be85c147222cb074571c056b59df /source/blender/modifiers/intern/MOD_ui_common.c
parent410b87ca781d6b6b061bab0440005ac1ab82688f (diff)
parentbbb1d3e5e7eb4059a0324ae786e1e793852963a9 (diff)
Merge branch 'master' into temp-gpencil-automasktemp-gpencil-automask
Diffstat (limited to 'source/blender/modifiers/intern/MOD_ui_common.c')
-rw-r--r--source/blender/modifiers/intern/MOD_ui_common.c3
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);