Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-07-31 13:38:44 +0300
committerAntonioya <blendergit@gmail.com>2018-07-31 13:38:44 +0300
commit0b85bb847c06b2115f135f82bce7bd762354acd4 (patch)
tree236ff4f9751056fb098919e3437ae0b109edc35e /source/blender/shader_fx/intern
parent20d525eb8bcc0652e9776c333b77df6ae9f842cd (diff)
Cleanup: Remove overflow array element
Diffstat (limited to 'source/blender/shader_fx/intern')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_rim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_rim.c b/source/blender/shader_fx/intern/FX_shader_rim.c
index 611e6f91bf7..bea6f645033 100644
--- a/source/blender/shader_fx/intern/FX_shader_rim.c
+++ b/source/blender/shader_fx/intern/FX_shader_rim.c
@@ -40,8 +40,8 @@ static void initData(ShaderFxData *fx)
{
RimShaderFxData *gpfx = (RimShaderFxData *)fx;
ARRAY_SET_ITEMS(gpfx->offset, 50, -100);
- ARRAY_SET_ITEMS(gpfx->rim_rgb, 1.0f, 1.0f, 0.5f, 0.9f);
- ARRAY_SET_ITEMS(gpfx->mask_rgb, 0.0f, 0.0f, 0.0f, 1.0f);
+ ARRAY_SET_ITEMS(gpfx->rim_rgb, 1.0f, 1.0f, 0.5f);
+ ARRAY_SET_ITEMS(gpfx->mask_rgb, 0.0f, 0.0f, 0.0f);
gpfx->mode = eShaderFxRimMode_Multiply;
ARRAY_SET_ITEMS(gpfx->blur, 0, 0);
}