Blender Git Loki

Git Commits -> Revision 45cf9c3

Revision 45cf9c3 by Philipp Oeser (lineart-shadow)
July 13, 2021, 08:41 (GMT)
Make Single User: support object data animation

In addition to _object_ animation, now _object data_ (mesh, curve, ...)
animation can now be made single user as well.

This came up in T89369 and while it is possible to do this via the
Outliner [where all actions have to be selected individually], this
seems to be more convenient to be done from the 3DView.

note: usercount of the action is checked now, if it single-user already,
no copy takes place (same thing could/should be done for
single_object_action_users as well).

note2: obdata is made single user as well (otherwise duplicated actions
will be assigned to the same shared obdata - which does not result in
unique animadata which is what we are after here)

ref. T89369

Maniphest Tasks: T89369

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

Commit Details:

Full Hash: 45cf9c330a6b3f1b94c7c0307f1bd41cdfa7d894
Parent Commit: 5b98497
Committed By: YimingWu
Lines Changed: +40, -7

2 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+9, -5) (Diff)
/source/blender/editors/object/object_relations.c (+31, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021