Improved cache baking operators which make use of threaded depsgraph
authorLukas Tönne <lukas.toenne@gmail.com>
Fri, 19 Dec 2014 10:26:29 +0000 (11:26 +0100)
committerLukas Tönne <lukas.toenne@gmail.com>
Fri, 19 Dec 2014 10:26:29 +0000 (11:26 +0100)
commitd0e2c15ec44be1eecdf2b1692a47680d7e57e34b
treebfd46392af8c53d69d7f8fcf0405797e20dcc135
parent838d75776d1985fa602513e1e8e063a4a4f7c0e7
Improved cache baking operators which make use of threaded depsgraph
updates.

Previously each object was baked explicitly on its own. This is much
slower than the regular scene baking because it doesn't utilize the
threaded depsgraph updates.

Now the operator simply runs through the whole frame range once,
creating point cache data, and then bakes that data to make the caches
permanent. (Note: using the "bake_all" operator would also work, but
doesn't give much control and progress feedback is limited).
object_physics_meadow/physics.py
object_physics_meadow/ui.py