Page MenuHome

Fix T95395: Dangling parent pointer when creating node group.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Feb 1 2022, 4:40 PM.

Diff Detail

Repository
rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Feb 1 2022, 4:40 PM
Jacques Lucke (JacquesLucke) created this revision.

The fix makes sense.

I wonder if ideally we wouldn't even have the parent pointer, and the frame nodes would keep track of their children.

This revision is now accepted and ready to land.Feb 1 2022, 5:14 PM

I wonder if ideally we wouldn't even have the parent pointer, and the frame nodes would keep track of their children.

Both representations make sense, don't think one is necessarily better than the other. In the future we might define one as the "ground truth" and store the other one as derived data. And for the ground truth the current parent pointer is probably better.