diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-03-20 17:14:27 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-03-20 17:18:47 +0300 |
commit | 3508ffc34c1f742e6a798814b80075ccbe1baa22 (patch) | |
tree | f6813a213983ab1ea8db761065534b63843168b3 /source/blender/depsgraph/intern/builder/deg_builder_relations.h | |
parent | f08910e7b28722c76263c0017e81db4d7773337b (diff) |
Fix T59449: Particle system creates error in rigid body
Is a dependency cycle problem. Fix is similar to what is done in 024f5ba2bdb.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.h b/source/blender/depsgraph/intern/builder/deg_builder_relations.h index 250593eeda0..aa94e05dc28 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.h @@ -198,6 +198,12 @@ public: const char *description, int flags = 0); + template <typename KeyTo> + Relation *add_depends_on_transform_relation(ID *id, + const KeyTo& key_to, + const char *description, + int flags = 0); + /* Adds relation from proper transformation opertation to the modifier. * Takes care of checking for possible physics solvers modifying position * of this object. */ |