diff options
author | Hans Goudey <h.goudey@me.com> | 2020-11-13 21:56:55 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-13 21:57:20 +0300 |
commit | 9d28353b525ecfbcca1501be72e4276dfb2bbc2a (patch) | |
tree | 533876e87d98d0800ad3e55eb3e637492fc66de5 /source/blender/editors/interface/interface.c | |
parent | 4c193f731e31664eae335f7f093699b7a6dfac42 (diff) |
Cleanup: Make panel type flag names more clear
The overlap with the `Panel` flags that start with "PNL" was quite
confusing because wasn't clear which enum a flag was from. The
new names are a bit longer, but the clarity is worth it.
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 4c3fd57131c..02e083076f0 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -1997,7 +1997,7 @@ void UI_block_draw(const bContext *C, uiBlock *block) else if (block->panel) { bool show_background = region->alignment != RGN_ALIGN_FLOAT; if (show_background) { - if (block->panel->type && (block->panel->type->flag & PNL_NO_HEADER)) { + if (block->panel->type && (block->panel->type->flag & PANEL_TYPE_NO_HEADER)) { if (region->regiontype == RGN_TYPE_TOOLS) { /* We never want a background around active tools. */ show_background = false; |