GPv3: Add initial dopesheet support

This PR adds basic support for viewing layers and keyframes in the grease pencil dopsheet for the new grease pencil data-type.
Resolves #108508.

Co-authored-by: Amelie Fondevilla <amelie.fondevilla@les-fees-speciales.coop>
Pull Request: https://projects.blender.org/blender/blender/pulls/108807
This commit is contained in:
Falk David
2023-07-12 10:32:09 +02:00
committed by Falk David
parent 64887c80a2
commit 09f8f4d049
10 changed files with 355 additions and 32 deletions

View File

@@ -56,6 +56,7 @@ static void grease_pencil_init_data(ID *id)
new (&grease_pencil->root_group) greasepencil::LayerGroup();
grease_pencil->active_layer = nullptr;
grease_pencil->flag |= GREASE_PENCIL_ANIM_CHANNEL_EXPANDED;
}
static void grease_pencil_copy_data(Main * /*bmain*/,