[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50187] branches/soc-2011-tomato/source/ blender/blenkernel/intern/movieclip.c: Color management: initialize input color space on movie clip load

Sergey Sharybin sergey.vfx at gmail.com
Fri Aug 24 16:01:01 CEST 2012


Revision: 50187
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50187
Author:   nazgul
Date:     2012-08-24 14:01:01 +0000 (Fri, 24 Aug 2012)
Log Message:
-----------
Color management: initialize input color space on movie clip load

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c

Modified: branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c
===================================================================
--- branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c	2012-08-24 14:00:39 UTC (rev 50186)
+++ branches/soc-2011-tomato/source/blender/blenkernel/intern/movieclip.c	2012-08-24 14:01:01 UTC (rev 50187)
@@ -66,6 +66,7 @@
 
 #include "BKE_animsys.h"
 #include "BKE_constraint.h"
+#include "BKE_colortools.h"
 #include "BKE_library.h"
 #include "BKE_global.h"
 #include "BKE_main.h"
@@ -480,6 +481,7 @@
 	clip->aspx = clip->aspy = 1.0f;
 
 	BKE_tracking_settings_init(&clip->tracking);
+	BKE_color_managed_colorspace_settings_init(&clip->colorspace_settings);
 
 	clip->proxy.build_size_flag = IMB_PROXY_25;
 	clip->proxy.build_tc_flag = IMB_TC_RECORD_RUN |




More information about the Bf-blender-cvs mailing list