diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-12-02 16:33:47 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-12-02 16:35:12 +0300 |
commit | 61e92eeb3e38f6dc887b63102b6a9acc9cce7e26 (patch) | |
tree | 2eccdf4ee98575615bea6c1bfcf944636b92107e /source/blender/blenkernel | |
parent | 67c490daafd9642f91c2ca7a93482e3176e4c70c (diff) |
Fix `Action.asset_data["is_single_frame"]` set incorrectly
The asset metadata custom property `["is_single_frame"]` was set
incorrectly. Since this is intended for forward compatibility, including
being covered by the asset metadata indexing, it's important to have it
set correctly from the first release of Blender that includes the asset
browser.
Differential Revision: https://developer.blender.org/D13452
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 842902b51ed..34c4eaece05 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -289,7 +289,7 @@ static void action_blend_read_expand(BlendExpander *expander, ID *id) static IDProperty *action_asset_type_property(const bAction *action) { - const bool is_single_frame = !BKE_action_has_single_frame(action); + const bool is_single_frame = BKE_action_has_single_frame(action); IDPropertyTemplate idprop = {0}; idprop.i = is_single_frame; |