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:
authorCampbell Barton <ideasman42@gmail.com>2021-04-11 07:43:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-11 07:43:05 +0300
commit1241e9170711acfa0fbf99d5289b0241f6db1c23 (patch)
tree92bc1bcd417605c771046cebd7741126e10700a0 /source/blender/editors/gpencil/gpencil_interpolate.c
parentf9c0d7261a22d8d237e8cc23453c636c3a09c58b (diff)
Cleanup: use ELEM, STREQ macros
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_interpolate.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_interpolate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_interpolate.c b/source/blender/editors/gpencil/gpencil_interpolate.c
index e6a6c65243e..d10dafa36ca 100644
--- a/source/blender/editors/gpencil/gpencil_interpolate.c
+++ b/source/blender/editors/gpencil/gpencil_interpolate.c
@@ -1706,7 +1706,7 @@ static bool gpencil_interpolate_reverse_poll(bContext *C)
if (area == NULL) {
return false;
}
- if ((area->spacetype != SPACE_VIEW3D) && (area->spacetype != SPACE_ACTION)) {
+ if (!ELEM(area->spacetype, SPACE_VIEW3D, SPACE_ACTION)) {
return false;
}