diff options
author | Jacques Lucke <jacques@blender.org> | 2020-10-07 13:35:58 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-10-07 13:35:58 +0300 |
commit | 65a6caafce9f1cde7e128786daa90342c192900c (patch) | |
tree | 3b5f46753773a0499a6bb2df4f9f24220a1bb44c /source/blender/blenkernel/intern/paint.c | |
parent | e2526e338f12832c1ab945907f5be075124fcf24 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/intern/paint.c')
-rw-r--r-- | source/blender/blenkernel/intern/paint.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |