diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-09 01:42:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-09 01:58:06 +0300 |
commit | 3b1c7a6d6f2dfc4a72a1b33217366db6173d8d71 (patch) | |
tree | 23eb209623e842dc3d635f78a86d76420cd308f7 /source/blender/editors/include | |
parent | cfa48c84d06ca8197f86b6d3ceef8a2c7c311a82 (diff) |
Cleanup: move eIconSizes, ID_Type enums into own file
This avoids adding DNA_ID.h into other headers, recently changed in
cfa48c84d06ca8197f86b6d3ceef8a2c7c311a82
Note that other enums could be moved too, this is a smaller change
to avoid indirectly including DNA_ID.h in many places.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface_icons.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/UI_interface_icons.h b/source/blender/editors/include/UI_interface_icons.h index 4d860be285d..266a538b6c3 100644 --- a/source/blender/editors/include/UI_interface_icons.h +++ b/source/blender/editors/include/UI_interface_icons.h @@ -23,8 +23,8 @@ #pragma once -/* Required for enum iconSizes which can't be forward declared if this file is included in C++. */ -#include "DNA_ID.h" +/* Required for #eIconSizes which can't be forward declared if this file is included in C++. */ +#include "DNA_ID_enums.h" #ifdef __cplusplus extern "C" { |