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:
Diffstat (limited to 'source/blender/shader_fx/intern/FX_shader_glow.c')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_glow.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_glow.c b/source/blender/shader_fx/intern/FX_shader_glow.c
index 8b47d3eba26..1b1e4dc9d94 100644
--- a/source/blender/shader_fx/intern/FX_shader_glow.c
+++ b/source/blender/shader_fx/intern/FX_shader_glow.c
@@ -36,34 +36,34 @@
static void initData(ShaderFxData *md)
{
- GlowShaderFxData *gpfx = (GlowShaderFxData *)md;
- ARRAY_SET_ITEMS(gpfx->glow_color, 0.75f, 1.0f, 1.0f);
- ARRAY_SET_ITEMS(gpfx->select_color, 0.0f, 0.0f, 0.0f);
- gpfx->threshold = 0.1f;
+ GlowShaderFxData *gpfx = (GlowShaderFxData *)md;
+ ARRAY_SET_ITEMS(gpfx->glow_color, 0.75f, 1.0f, 1.0f);
+ ARRAY_SET_ITEMS(gpfx->select_color, 0.0f, 0.0f, 0.0f);
+ gpfx->threshold = 0.1f;
- ARRAY_SET_ITEMS(gpfx->blur, 50, 0);
- gpfx->samples = 16;
+ ARRAY_SET_ITEMS(gpfx->blur, 50, 0);
+ gpfx->samples = 16;
}
static void copyData(const ShaderFxData *md, ShaderFxData *target)
{
- BKE_shaderfx_copyData_generic(md, target);
+ BKE_shaderfx_copyData_generic(md, target);
}
ShaderFxTypeInfo shaderfx_Type_Glow = {
- /* name */ "Glow",
- /* structName */ "GlowShaderFxData",
- /* structSize */ sizeof(GlowShaderFxData),
- /* type */ eShaderFxType_GpencilType,
- /* flags */ 0,
+ /* name */ "Glow",
+ /* structName */ "GlowShaderFxData",
+ /* structSize */ sizeof(GlowShaderFxData),
+ /* type */ eShaderFxType_GpencilType,
+ /* flags */ 0,
- /* copyData */ copyData,
+ /* copyData */ copyData,
- /* initData */ initData,
- /* freeData */ NULL,
- /* isDisabled */ NULL,
- /* updateDepsgraph */ NULL,
- /* dependsOnTime */ NULL,
- /* foreachObjectLink */ NULL,
- /* foreachIDLink */ NULL,
+ /* initData */ initData,
+ /* freeData */ NULL,
+ /* isDisabled */ NULL,
+ /* updateDepsgraph */ NULL,
+ /* dependsOnTime */ NULL,
+ /* foreachObjectLink */ NULL,
+ /* foreachIDLink */ NULL,
};