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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-02 20:18:11 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-02 20:18:11 +0300
commitf8ce4ebf073cec4224a29c3ac9d3961814f93c4d (patch)
treeb7384a4aa60d011e45ba34bd093ca439b5fc4b78 /source/blender/shader_fx/intern/FX_shader_shadow.c
parentf694d3792941ce24092865cffb038aa0e5cc08f2 (diff)
Fix wrong grease pencil shader FX usage of object location.
It should use the evaluated object location, and not add any unnecessary dependency on geometry data.
Diffstat (limited to 'source/blender/shader_fx/intern/FX_shader_shadow.c')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_shadow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_shadow.c b/source/blender/shader_fx/intern/FX_shader_shadow.c
index ba1bd4fe907..aa8808f268b 100644
--- a/source/blender/shader_fx/intern/FX_shader_shadow.c
+++ b/source/blender/shader_fx/intern/FX_shader_shadow.c
@@ -74,7 +74,6 @@ static void updateDepsgraph(ShaderFxData *fx, const ModifierUpdateDepsgraphConte
{
ShadowShaderFxData *fxd = (ShadowShaderFxData *)fx;
if (fxd->object != NULL) {
- DEG_add_object_relation(ctx->node, fxd->object, DEG_OB_COMP_GEOMETRY, "Shadow ShaderFx");
DEG_add_object_relation(ctx->node, fxd->object, DEG_OB_COMP_TRANSFORM, "Shadow ShaderFx");
}
DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_TRANSFORM, "Shadow ShaderFx");