[Bf-blender-cvs] [944122d49f5] master: Cleanup: Use ELEM macro
Antonio Vazquez
noreply at git.blender.org
Tue Mar 8 16:51:43 CET 2022
Commit: 944122d49f5c7766bfd353874bdcaf3328079cd4
Author: Antonio Vazquez
Date: Tue Mar 8 16:44:03 2022 +0100
Branches: master
https://developer.blender.org/rB944122d49f5c7766bfd353874bdcaf3328079cd4
Cleanup: Use ELEM macro
===================================================================
M source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list