[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51468] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp: Fix for OCIO-based color management ( reported in the commit log of revision 50832).
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Sat Oct 20 22:46:44 CEST 2012
Revision: 51468
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51468
Author: kjym3
Date: 2012-10-20 20:46:42 +0000 (Sat, 20 Oct 2012)
Log Message:
-----------
Fix for OCIO-based color management (reported in the commit log of revision 50832).
The solution is exactly the same with revision 43584 for a similar issue in pre-OCIO color management:
i.e., just disabling color management during the nested invocation of BI for stroke rendering.
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50832
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43584
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp 2012-10-20 20:36:51 UTC (rev 51467)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp 2012-10-20 20:46:42 UTC (rev 51468)
@@ -81,6 +81,8 @@
BLI_strncpy(freestyle_scene->r.engine, old_scene->r.engine, sizeof(freestyle_scene->r.engine));
freestyle_scene->r.im_format.planes = R_IMF_PLANES_RGBA;
freestyle_scene->r.im_format.imtype = R_IMF_IMTYPE_PNG;
+ BKE_scene_disable_color_management(freestyle_scene);
+
BKE_scene_set_background( G.main, freestyle_scene );
// Camera
More information about the Bf-blender-cvs
mailing list