How to force update dependency graph in frame_change_post?

I am developing a plug-in for Blender particle system hair. The plug-in needs to modify the parent and child hair data after the dependency graph is evaluated during animation playback or user interaction. I want the parent hair to be updated after the dependency graph is modified. But when I do this, modifications to the child’s data always fail.
These modifications happen in frame_change_post.
How to solve this problem?

1 Like