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-12-07 22:01:01 +0300
committerAntonioya <blendergit@gmail.com>2018-12-07 22:01:01 +0300
commita8e459e452f7b7c42de8c4719125b69bfd1c7f32 (patch)
treee0af17c22ac9afd69b66c2491f7338e80700b0a9 /source/blender/shader_fx
parent6a5e8096973f701363a36eb07a096ff8ca784342 (diff)
Fix T58360 "Use object as pivot" in GP "Shadow effect" crashes Blender
Diffstat (limited to 'source/blender/shader_fx')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_shadow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_shadow.c b/source/blender/shader_fx/intern/FX_shader_shadow.c
index e3a9543fcb4..ba1bd4fe907 100644
--- a/source/blender/shader_fx/intern/FX_shader_shadow.c
+++ b/source/blender/shader_fx/intern/FX_shader_shadow.c
@@ -61,6 +61,8 @@ static void initData(ShaderFxData *md)
ARRAY_SET_ITEMS(gpfx->blur, 5, 5);
gpfx->samples = 2;
+
+ gpfx->object = NULL;
}
static void copyData(const ShaderFxData *md, ShaderFxData *target)