diff options
author | Wayde Moss <GuiltyGhost> | 2020-12-15 00:55:19 +0300 |
---|---|---|
committer | Wayde Moss <wbmoss_dev@yahoo.com> | 2020-12-15 01:00:04 +0300 |
commit | 04ca93ef9bcb3e2e0054c459f6b36ab43de24532 (patch) | |
tree | 830fb0da639e28d2ce94470e45cac8abba6e4158 /source | |
parent | 20bc1ab27578f1eec4962d0476de8380fed3e35a (diff) |
NLA: Fix context.selected_nla_strips PointerRNA
The strips were given the wrong owner ID. This only caused issues for
python based UI as far as I know. Property changes would not properly
update the viewport.
Reviewed By: lichtwerk
Differential Revision: https://developer.blender.org/D9685
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/screen/screen_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_context.c b/source/blender/editors/screen/screen_context.c index 244ebea5bbe..2061716f01f 100644 --- a/source/blender/editors/screen/screen_context.c +++ b/source/blender/editors/screen/screen_context.c @@ -663,7 +663,7 @@ static eContextResult screen_ctx_selected_nla_strips(const bContext *C, bContext NlaTrack *nlt = (NlaTrack *)ale->data; LISTBASE_FOREACH (NlaStrip *, strip, &nlt->strips) { if (strip->flag & NLASTRIP_FLAG_SELECT) { - CTX_data_list_add(result, &scene->id, &RNA_NlaStrip, strip); + CTX_data_list_add(result, ale->id, &RNA_NlaStrip, strip); } } } |