Depsgraph: Fix dependency cycle when adding rigid body
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 28 Mar 2019 10:04:00 +0000 (11:04 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 28 Mar 2019 10:04:00 +0000 (11:04 +0100)
commit5bcca7ae9296408717449d24a4bc9ca6e30e3c44
tree004a5c77cbb0b9dfefa3707b9d7a762ddaea7e67
parentfdf92b923a349d17f4de43d3f047c0445077c3ab
Depsgraph: Fix dependency cycle when adding rigid body

Was a mistake in the recent change.

The idea here is: manual should invalidate point cache, but
rigid body simulation should only happen after point cache
was ensured to be in the correct state.
source/blender/depsgraph/intern/builder/deg_builder_relations.cc