From c08282f468483d89c4d53befdbc489ddccfee763 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Thu, 1 Jun 2023 16:01:36 +0200 Subject: [PATCH] Fix invalid UI panel bit-flag value These bit-flags were passed around in `short`s which can hold 16 bits usually, but the enum defined 17 flags. --- source/blender/makesdna/DNA_screen_types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index aa59b886d5a..a44fc9782ff 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -201,7 +201,6 @@ typedef enum uiPanelDataExpansion { UI_SUBPANEL_DATA_EXPAND_13 = (1 << 13), UI_SUBPANEL_DATA_EXPAND_14 = (1 << 14), UI_SUBPANEL_DATA_EXPAND_15 = (1 << 15), - UI_SUBPANEL_DATA_EXPAND_16 = (1 << 16), } uiPanelDataExpansion; /**