[Bf-blender-cvs] [5d4a514a88a] temp-nla-strip-alignment: - 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.
Wayde Moss
noreply at git.blender.org
Thu Dec 10 06:13:38 CET 2020
Commit: 5d4a514a88a6f41468f02d9127b014cbf8b2da07
Author: Wayde Moss
Date: Sun Nov 29 15:13:02 2020 -0500
Branches: temp-nla-strip-alignment
https://developer.blender.org/rB5d4a514a88a6f41468f02d9127b014cbf8b2da07
- 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.
===================================================================
M source/blender/editors/screen/screen_context.c
===================================================================
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);
}
}
}
More information about the Bf-blender-cvs
mailing list