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:
authorJulian Eisel <julian@blender.org>2022-05-27 17:48:09 +0300
committerJulian Eisel <julian@blender.org>2022-05-27 18:03:25 +0300
commitb45f410b3157cb13e7ff4d88dcf5557d2621b9c3 (patch)
tree825f3e521d2a9db03f9ccbc0a84457caa08374ef /source/blender/makesdna/DNA_ID_enums.h
parent74cf22c42c81341fd7d4ce0863a9dafe26bacd2f (diff)
Fix T97790: Crash in Outliner "Blender File" mode with old files
IPO data-block types are deprecated since 2.5. Don't show them in the Outliner at all. Differential Revision: https://developer.blender.org/D15049
Diffstat (limited to 'source/blender/makesdna/DNA_ID_enums.h')
-rw-r--r--source/blender/makesdna/DNA_ID_enums.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID_enums.h b/source/blender/makesdna/DNA_ID_enums.h
index b0ca13615b8..5999af8bf5c 100644
--- a/source/blender/makesdna/DNA_ID_enums.h
+++ b/source/blender/makesdna/DNA_ID_enums.h
@@ -38,6 +38,8 @@ enum eIconSizes {
*
* Written to #BHead.code (for file IO)
* and the first 2 bytes of #ID.name (for runtime checks, see #GS macro).
+ *
+ * Update #ID_TYPE_IS_DEPRECATED() when deprecating types.
*/
typedef enum ID_Type {
ID_SCE = MAKE_ID2('S', 'C'), /* Scene */