[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60302] branches/soc-2013-vse/source/ blender/blenloader/intern/readfile.c: Changed due to DNA changes ( common structure for modifiers and effects)

Alexander Kuznetsov kuzsasha at gmail.com
Sun Sep 22 07:29:21 CEST 2013


Revision: 60302
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60302
Author:   alexk
Date:     2013-09-22 05:29:21 +0000 (Sun, 22 Sep 2013)
Log Message:
-----------
Changed due to DNA changes (common structure for modifiers and effects)

Modified Paths:
--------------
    branches/soc-2013-vse/source/blender/blenloader/intern/readfile.c

Modified: branches/soc-2013-vse/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2013-vse/source/blender/blenloader/intern/readfile.c	2013-09-22 05:24:46 UTC (rev 60301)
+++ branches/soc-2013-vse/source/blender/blenloader/intern/readfile.c	2013-09-22 05:29:21 UTC (rev 60302)
@@ -8710,13 +8710,13 @@
 						smd = BKE_sequence_modifier_new(seq, NULL, seqModifierType_ColorBalance);
 						cbmd = (ColorBalanceModifierData *) smd;
 
-						cbmd->color_balance = *strip->color_balance;
+						cbmd->data.color_balance = *strip->color_balance;
 
 						/* multiplication with color balance used is handled differently,
 						 * so we need to move multiplication to modifier so files would be
 						 * compatible
 						 */
-						cbmd->color_multiply = seq->mul;
+						cbmd->data.color_multiply = seq->mul;
 						seq->mul = 1.0f;
 
 						MEM_freeN(strip->color_balance);




More information about the Bf-blender-cvs mailing list