Fix for Freestyle rendering errors with color blend modes SOFT_LIGHT and LINEAR_LIGHT.

This commit is contained in:
Tamito Kajiyama
2013-10-31 07:41:40 +00:00
parent 712c8f3cae
commit 7eff2285a3

View File

@@ -101,8 +101,8 @@ static int ramp_blend_type(const char *type)
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;
}