Page MenuHome

Depsgraph: Ensure it's fully evaluated after POST callbacks
ClosedPublic

Authored by Sergey Sharybin (sergey) on Thu, Sep 5, 12:58 PM.

Details

Summary

It is possible that POST callbacks will modify objects or relations.
This change makes it so an extra update pass is done if needed.

Diff Detail

Repository
rB Blender

Event Timeline

Brecht Van Lommel (brecht) requested changes to this revision.Thu, Sep 5, 3:34 PM
Brecht Van Lommel (brecht) added inline comments.
source/blender/blenkernel/intern/scene.c
1574

I don't think it should run this callback again the second time?

This revision now requires changes to proceed.Thu, Sep 5, 3:34 PM

Correct callbacks being run on second pass.

Forgot to set variable in the previous change.

Sergey Sharybin (sergey) retitled this revision from Depsgraph: Ensure it's fily evaluated after POST callbacks to Depsgraph: Ensure it's fully evaluated after POST callbacks.Thu, Sep 5, 4:01 PM
This revision is now accepted and ready to land.Thu, Sep 5, 4:11 PM