diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-24 12:31:24 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-24 13:45:03 +0300 |
commit | 547d31c8da1fcb938e91887909c5e2f3b3d180d5 (patch) | |
tree | 9add6d1e320972dcd874e83e298dbcf61793a90c /source/blender/modifiers/intern/MOD_datatransfer.c | |
parent | 6e3a9b9313a2dcbd5c8967387de36b4ecd312d3e (diff) |
Depsgraph: minor renaming and refactor of API for adding evaluation flags.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_datatransfer.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_datatransfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_datatransfer.c b/source/blender/modifiers/intern/MOD_datatransfer.c index 6c99b5d95b3..b8146d3fe41 100644 --- a/source/blender/modifiers/intern/MOD_datatransfer.c +++ b/source/blender/modifiers/intern/MOD_datatransfer.c @@ -131,7 +131,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte if (dtmd->ob_source != NULL) { CustomDataMask mask = BKE_object_data_transfer_dttypes_to_cdmask(dtmd->data_types); - DEG_add_object_customdata_relation(ctx->node, dtmd->ob_source, DEG_OB_COMP_GEOMETRY, mask, "DataTransfer Modifier"); + DEG_add_object_relation_with_customdata(ctx->node, dtmd->ob_source, DEG_OB_COMP_GEOMETRY, mask, "DataTransfer Modifier"); } } |