[Bf-blender-cvs] [5f1ead63953] blender2.8: Fix T55895: VSE crash while moving a strip

Bastien Montagne noreply at git.blender.org
Wed Jul 25 14:59:28 CEST 2018


Commit: 5f1ead63953527abd9ddca16986990d59f123aff
Author: Bastien Montagne
Date:   Wed Jul 25 14:52:29 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5f1ead63953527abd9ddca16986990d59f123aff

Fix T55895: VSE crash while moving a strip

Glitch from multi-edit project. ;)

===================================================================

M	source/blender/editors/transform/transform_snap.c

===================================================================

diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c
index b67fd22dbff..54253e36351 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -1462,7 +1462,7 @@ void snapSequenceBounds(TransInfo *t, const int mval[2])
 	float xmouse, ymouse;
 	int frame;
 	int mframe;
-	TransSeq *ts = t->custom.type.data;
+	TransSeq *ts = TRANS_DATA_CONTAINER_FIRST_SINGLE(t)->custom.type.data;
 	/* reuse increment, strictly speaking could be another snap mode, but leave as is */
 	if (!(t->modifiers & MOD_SNAP_INVERT))
 		return;



More information about the Bf-blender-cvs mailing list