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-03-08 18:44:03 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-03-08 18:44:03 +0300
commit944122d49f5c7766bfd353874bdcaf3328079cd4 (patch)
treeb0e8e822b58f97c5f45f554da18569274e08ef20 /source/blender/gpencil_modifiers
parent62885637fb5ffbe81efe0e03a2832c5f65d0f5fe (diff)
Cleanup: Use ELEM macro
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
index 6d9d9035c84..1a69a6a8a38 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
@@ -571,7 +571,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
uiItemS(layout);
- if (mode == GP_BUILD_MODE_SEQUENTIAL || mode == GP_BUILD_MODE_CONCURRENT) {
+ if (ELEM(mode, GP_BUILD_MODE_SEQUENTIAL, GP_BUILD_MODE_CONCURRENT)) {
uiItemR(layout, ptr, "transition", 0, NULL, ICON_NONE);
}
row = uiLayoutRow(layout, true);