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_swirl.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_swirl.c')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_swirl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_swirl.c b/source/blender/shader_fx/intern/FX_shader_swirl.c
index 9667f466eec..40fa20e62d5 100644
--- a/source/blender/shader_fx/intern/FX_shader_swirl.c
+++ b/source/blender/shader_fx/intern/FX_shader_swirl.c
@@ -62,7 +62,6 @@ static void updateDepsgraph(ShaderFxData *fx, const ModifierUpdateDepsgraphConte
{
SwirlShaderFxData *fxd = (SwirlShaderFxData *)fx;
if (fxd->object != NULL) {
- DEG_add_object_relation(ctx->node, fxd->object, DEG_OB_COMP_GEOMETRY, "Swirl ShaderFx");
DEG_add_object_relation(ctx->node, fxd->object, DEG_OB_COMP_TRANSFORM, "Swirl ShaderFx");
}
DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_TRANSFORM, "Swirl ShaderFx");