From 65a6caafce9f1cde7e128786daa90342c192900c Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 7 Oct 2020 12:35:58 +0200 Subject: IDTypeInfo: add flag to indicate that ID has no animation data This is part of T75724. Reviewers: mont29 Differential Revision: https://developer.blender.org/D9134 --- source/blender/blenkernel/intern/paint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/paint.c') diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index b09ee51995f..d363f5d0f5e 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -133,7 +133,7 @@ IDTypeInfo IDType_ID_PAL = { .name = "Palette", .name_plural = "palettes", .translation_context = BLT_I18NCONTEXT_ID_PALETTE, - .flags = 0, + .flags = IDTYPE_FLAGS_NO_ANIMDATA, .init_data = palette_init_data, .copy_data = palette_copy_data, @@ -194,7 +194,7 @@ IDTypeInfo IDType_ID_PC = { .name = "PaintCurve", .name_plural = "paint_curves", .translation_context = BLT_I18NCONTEXT_ID_PAINTCURVE, - .flags = 0, + .flags = IDTYPE_FLAGS_NO_ANIMDATA, .init_data = NULL, .copy_data = paint_curve_copy_data, -- cgit v1.2.3