[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61025] trunk/blender/source/blender/ freestyle/intern/python/BPy_Freestyle.cpp: Fix for Freestyle rendering errors with color blend modes SOFT_LIGHT and LINEAR_LIGHT .
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Thu Oct 31 08:41:40 CET 2013
Revision: 61025
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61025
Author: kjym3
Date: 2013-10-31 07:41:40 +0000 (Thu, 31 Oct 2013)
Log Message:
-----------
Fix for Freestyle rendering errors with color blend modes SOFT_LIGHT and LINEAR_LIGHT.
Modified Paths:
--------------
trunk/blender/source/blender/freestyle/intern/python/BPy_Freestyle.cpp
Modified: trunk/blender/source/blender/freestyle/intern/python/BPy_Freestyle.cpp
===================================================================
--- trunk/blender/source/blender/freestyle/intern/python/BPy_Freestyle.cpp 2013-10-31 04:12:16 UTC (rev 61024)
+++ trunk/blender/source/blender/freestyle/intern/python/BPy_Freestyle.cpp 2013-10-31 07:41:40 UTC (rev 61025)
@@ -101,8 +101,8 @@
if (!strcmp(type, "SATURATION")) return MA_RAMP_SAT;
if (!strcmp(type, "VALUE")) return MA_RAMP_VAL;
if (!strcmp(type, "COLOR")) return MA_RAMP_COLOR;
- if (!strcmp(type, "SOFT LIGHT")) return MA_RAMP_SOFT;
- if (!strcmp(type, "LINEAR LIGHT")) return MA_RAMP_LINEAR;
+ if (!strcmp(type, "SOFT_LIGHT")) return MA_RAMP_SOFT;
+ if (!strcmp(type, "LINEAR_LIGHT")) return MA_RAMP_LINEAR;
return -1;
}
More information about the Bf-blender-cvs
mailing list