[Bf-blender-cvs] [e65a2cb52ce] blender2.8: Fix crash moving grease pencil frames

Campbell Barton noreply at git.blender.org
Wed May 9 14:09:32 CEST 2018


Commit: e65a2cb52ce1e5ef4a9f48bbedebe59f2056c315
Author: Campbell Barton
Date:   Wed May 9 14:09:05 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBe65a2cb52ce1e5ef4a9f48bbedebe59f2056c315

Fix crash moving grease pencil frames

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

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

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

diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 14dd147c309..6572aa0f443 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -3908,7 +3908,7 @@ typedef struct tGPFtransdata {
 void flushTransIntFrameActionData(TransInfo *t)
 {
 	TransDataContainer *tc = TRANS_DATA_CONTAINER_FIRST_SINGLE(t);
-	tGPFtransdata *tfd = t->custom.type.data;
+	tGPFtransdata *tfd = tc->custom.type.data;
 
 	/* flush data! */
 	for (int i = 0; i < tc->data_len; i++, tfd++) {



More information about the Bf-blender-cvs mailing list