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:
authorRichard Antalik <richardantalik@gmail.com>2021-11-30 13:09:58 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-11-30 13:15:20 +0300
commitd8edc2c6345306b943d73d2806bea18b67c66bc3 (patch)
treed9c4ae430a6ad5c97b996755f8cc39994844bb3d /source/blender/editors/transform
parentc12d8a72cef557c0d9c76e78c3754e3009e74efd (diff)
VSE: Disable interactivity in combined view
Combined view of timeline and preview causes seemingly unpredictable behavior after some operators have been allowed to run in preview region. Disable new features in this combined view, so behavior should be consistent with previous versions. ref: https://developer.blender.org/T92584 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D13419
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_convert_sequencer_image.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/editors/transform/transform_convert_sequencer_image.c b/source/blender/editors/transform/transform_convert_sequencer_image.c
index e8af1680a41..d5a59885014 100644
--- a/source/blender/editors/transform/transform_convert_sequencer_image.c
+++ b/source/blender/editors/transform/transform_convert_sequencer_image.c
@@ -118,16 +118,17 @@ static void freeSeqData(TransInfo *UNUSED(t),
void createTransSeqImageData(TransInfo *t)
{
Editing *ed = SEQ_editing_get(t->scene);
+ const SpaceSeq *sseq = t->area->spacedata.first;
+ const ARegion *region = t->region;
if (ed == NULL) {
return;
}
-
- {
- const SpaceSeq *sseq = t->area->spacedata.first;
- if (sseq->mainb != SEQ_DRAW_IMG_IMBUF) {
- return;
- }
+ if (sseq->mainb != SEQ_DRAW_IMG_IMBUF) {
+ return;
+ }
+ if (region->regiontype == RGN_TYPE_PREVIEW && sseq->view == SEQ_VIEW_SEQUENCE_PREVIEW) {
+ return;
}
ListBase *seqbase = SEQ_active_seqbase_get(ed);