Blender Git Loki

Git Commits -> Revision c0bd240

Revision c0bd240 by Bastien Montagne (master)
December 8, 2020, 09:55 (GMT)
LibOverride: Add initial support for adding new NLA tracks.

Also makes NLA tracks and strips overridable.

User can either edit existing strips in existing NLA tracks (but not add or remove them), and/or add new NLA tracks after those comming from the linked data.

Most of the work was as usual checking operators and adding protections against illegal operations in override context.

Note that since we can only rely on indices to deal with local added tracks, we forbid any local track being before any linked/original track.

Maniphest Tasks: T72629

Differential Revision: https://developer.blender.org/D9611

Commit Details:

Full Hash: c0bd240ad0a17402db9d2e4799a433b81b62fca8
Parent Commit: 7808033
Lines Changed: +305, -68

16 Modified Paths:

/source/blender/blenkernel/BKE_nla.h (+13, -5) (Diff)
/source/blender/blenkernel/intern/ipo.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/nla.c (+37, -15) (Diff)
/source/blender/editors/animation/anim_channels_edit.c (+47, -5) (Diff)
/source/blender/editors/object/object_add.c (+3, -2) (Diff)
/source/blender/editors/space_action/action_data.c (+7, -4) (Diff)
/source/blender/editors/space_nla/nla_channels.c (+12, -5) (Diff)
/source/blender/editors/space_nla/nla_edit.c (+80, -19) (Diff)
/source/blender/editors/transform/transform_convert.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_convert_nla.c (+12, -4) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_access_compare_override.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+67, -3) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021