Depsgraph: Add utility function for transform dependency
[blender.git] / source / blender / modifiers / intern / MOD_uvproject.c
index 3b84a2f..0b0e839 100644 (file)
@@ -99,7 +99,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
                }
        }
        if (do_add_own_transform) {
-               DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_TRANSFORM, "UV Project Modifier");
+               DEG_add_modifier_to_transform_relation(ctx->node, "UV Project Modifier");
        }
 }