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:
authorJeroen Bakker <jeroen@blender.org>2021-11-26 09:59:38 +0300
committerJeroen Bakker <jeroen@blender.org>2021-11-26 09:59:38 +0300
commita073e1e401b308411f803b3adbe07a0fb39d6fb1 (patch)
treea42beac47df54f463e02868198af1dfdc360d803 /source/blender/editors/interface
parent7b5a6f452aa50f48891c5a01269afdb9a61a3007 (diff)
Cleanup: Silence clang-tidy warnings.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_panel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index 3c937c545ea..3d18489c0c9 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -1345,10 +1345,8 @@ bool UI_panel_should_show_background(const ARegion *region, const PanelType *pan
/* We never want a background around active tools. */
return false;
}
- else {
- /* Without a header there is no background except for region overlap. */
- return region->overlap != 0;
- }
+ /* Without a header there is no background except for region overlap. */
+ return region->overlap != 0;
}
return true;