diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-11-11 19:51:38 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-11-12 16:36:22 +0300 |
commit | b4cfe80547244e69017bb9c8432a4b18c21b5a6b (patch) | |
tree | d755d8fbe10634f2763fd66426df75824b76b382 /source/blender/makesrna/intern | |
parent | 5f7d5c0809104bf702dff4be1b706c6841095fda (diff) |
Assets: Store Action sub-type in asset metadata
Blender 3.0 will only support single-frame Actions in the pose library.
The goal of this patch is to lay the groundwork for making it possible
for the Asset Browser to reject/hide "animation snippet" Action assets.
Determining whether an Action has one or more frames (i.e. whether it
has a single pose or animation) requires inspecting the Action itself,
and thus loading the data-block itself. This would make it impossible to
quickly determine from the asset browser.
To solve this, the Action is inspected before saving, and a
`"is_single_frame"` boolean (well, 0/1 integer) IDProperty is added.
Reviewed by: Severin
Differential Revision: https://developer.blender.org/D13202
Diffstat (limited to 'source/blender/makesrna/intern')
0 files changed, 0 insertions, 0 deletions