diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-27 04:53:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-27 04:55:15 +0400 |
commit | c0d9ef65e95e808d4444892ada29a030215a5d17 (patch) | |
tree | ec1b536d1237dc3550f7e552705b3a0fb70435ba /source/blender/makesdna/DNA_screen_types.h | |
parent | e71f2fc3baff2743217d9e2331ed55e2f165cf5a (diff) |
UI: Warn when using fallback category
Scripts should be updated.
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index b96349e3d07..8a900c3946e 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -315,8 +315,8 @@ enum { #define PNL_DEFAULT_CLOSED 1 #define PNL_NO_HEADER 2 -/* Default panel category. */ -#define PNL_DEFAULT_CATEGORY "Misc" +/* Fallback panel category (only for old scripts which need updating) */ +#define PNL_CATEGORY_FALLBACK "Misc" /* uiList layout_type */ enum { |