Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayde Moss <wbmoss_dev@yahoo.com>2020-11-29 23:13:02 +0300
committerWayde Moss <wbmoss_dev@yahoo.com>2020-12-10 07:19:04 +0300
commit5d4a514a88a6f41468f02d9127b014cbf8b2da07 (patch)
tree0758306c9522dcafacb9063fa0ccd32f870d1a73
parent7c80dddb8c63e98a0ab9c84fd502e78713b22d8a (diff)
- general bugfix that should be committed separately: context.selected_nla_strips would have the wrong pointerRNA associated with it. This leads to unresponsive UI when strip values changed through python-made UI.
-rw-r--r--source/blender/editors/screen/screen_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_context.c b/source/blender/editors/screen/screen_context.c
index 244ebea5bbe..f1a8c84928c 100644
--- a/source/blender/editors/screen/screen_context.c
+++ b/source/blender/editors/screen/screen_context.c
@@ -663,7 +663,8 @@ 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);
}
}
}