diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-13 21:31:44 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-14 16:08:39 +0300 |
commit | 1d8db50538c4ba933d0a5faf97807ace1a9f6386 (patch) | |
tree | bf8fcfd196a51e4f9f11aabc85b693e454bc98b2 /source/blender/depsgraph/intern/depsgraph_physics.cc | |
parent | 39cd872acbcc913f9df4f6620680a2e7f89c5098 (diff) |
Depsgraph: Remove unused operation code
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_physics.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_physics.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_physics.cc b/source/blender/depsgraph/intern/depsgraph_physics.cc index 1299542e823..0a54caebace 100644 --- a/source/blender/depsgraph/intern/depsgraph_physics.cc +++ b/source/blender/depsgraph/intern/depsgraph_physics.cc @@ -149,10 +149,9 @@ void DEG_add_forcefield_relations(DepsNodeHandle *handle, DEG_add_object_relation( handle, relation->ob, DEG_OB_COMP_TRANSFORM, name); if (relation->psys) { - DEG_add_object_relation( - handle, relation->ob, DEG_OB_COMP_EVAL_PARTICLES, name); - /* TODO: remove this when/if EVAL_PARTICLES is sufficient for up to - * date particles. */ + /* TODO(sergey): Consider going more granular with more dedicated + * particle system operation. + */ DEG_add_object_relation( handle, relation->ob, DEG_OB_COMP_GEOMETRY, name); } |