Page MenuHome

Transform: Ensure depsgraph is evaluated when needed
ClosedPublic

Authored by Sergey Sharybin (sergey) on May 28 2019, 4:07 PM.

Details

Summary

Depsgraph: Only invoke callbacks when there are changes

Only affects when an evaluated dependency graph is requested via
context.

Makes it cheap to call when there are no changes made to the graph

Transform: Ensure depsgraph is evaluated when needed

Fix based on D4455 from Campbell, utilizes some recently
introduced functions and allows to not have any extra checks
in the transform code.

Fixes T61904
Fixes T62135

Diff Detail

Repository
rB Blender

Event Timeline

Sergey Sharybin (sergey) retitled this revision from Depsgraph: Add query for whether graph is up to date to Transform: Ensure depsgraph is evaluated when needed.May 28 2019, 4:51 PM
This revision is now accepted and ready to land.May 28 2019, 4:57 PM
This revision was automatically updated to reflect the committed changes.