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:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-03-20 17:14:27 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-03-20 17:18:47 +0300
commit3508ffc34c1f742e6a798814b80075ccbe1baa22 (patch)
treef6813a213983ab1ea8db761065534b63843168b3 /source/blender/depsgraph/intern/builder/deg_builder_relations.h
parentf08910e7b28722c76263c0017e81db4d7773337b (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.h6
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. */