Depsgraph: Rigid body simulation doesn't need explicit time relation
It'll be dependent on time via Time Source -> Rebuild RB World chain.
This commit is contained in:
parent
10ce1eea3f
commit
bff566215e
|
@ -1065,8 +1065,10 @@ void DepsgraphRelationBuilder::build_rigidbody(Scene *scene)
|
|||
|
||||
/* time dependency */
|
||||
TimeSourceKey time_src_key;
|
||||
add_relation(time_src_key, init_key, DEPSREL_TYPE_TIME, "TimeSrc -> Rigidbody Reset/Rebuild (Optional)");
|
||||
add_relation(time_src_key, sim_key, DEPSREL_TYPE_TIME, "TimeSrc -> Rigidbody Sim Step");
|
||||
add_relation(time_src_key,
|
||||
init_key,
|
||||
DEPSREL_TYPE_TIME,
|
||||
"TimeSrc -> Rigidbody Reset/Rebuild (Optional)");
|
||||
|
||||
/* objects - simulation participants */
|
||||
if (rbw->group) {
|
||||
|
|
Loading…
Reference in New Issue