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:
parent
20bc1ab275
commit
04ca93ef9b
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue