[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50527] branches/soc-2011-tomato/source/ blender/blenkernel/intern/colortools.c: Color Management: fix for wrong default color space and view
Sergey Sharybin
sergey.vfx at gmail.com
Tue Sep 11 12:34:20 CEST 2012
Revision: 50527
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50527
Author: nazgul
Date: 2012-09-11 10:34:19 +0000 (Tue, 11 Sep 2012)
Log Message:
-----------
Color Management: fix for wrong default color space and view
Modified Paths:
--------------
branches/soc-2011-tomato/source/blender/blenkernel/intern/colortools.c
Modified: branches/soc-2011-tomato/source/blender/blenkernel/intern/colortools.c
===================================================================
--- branches/soc-2011-tomato/source/blender/blenkernel/intern/colortools.c 2012-09-11 10:30:10 UTC (rev 50526)
+++ branches/soc-2011-tomato/source/blender/blenkernel/intern/colortools.c 2012-09-11 10:34:19 UTC (rev 50527)
@@ -1292,7 +1292,7 @@
* and proper versioning stuff is added.
* for now use NONE to be compatible with all current files
*/
- BLI_strncpy(settings->view_transform, "NONE", sizeof(settings->view_transform));
+ BLI_strncpy(settings->view_transform, "Default", sizeof(settings->view_transform));
settings->gamma = 1.0f;
settings->exposure = 0.0f;
@@ -1319,7 +1319,7 @@
void BKE_color_managed_colorspace_settings_init(ColorManagedColorspaceSettings *colorspace_settings)
{
- BLI_strncpy(colorspace_settings->name, "NONE", sizeof(colorspace_settings->name));
+ BLI_strncpy(colorspace_settings->name, "", sizeof(colorspace_settings->name));
}
void BKE_color_managed_colorspace_settings_copy(ColorManagedColorspaceSettings *colorspace_settings,
More information about the Bf-blender-cvs
mailing list