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
This commit is contained in:
Wayde Moss 2020-12-14 16:55:19 -05:00 committed by Wayde Moss
parent 20bc1ab275
commit 04ca93ef9b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}