Re: Question about RS_EntityContainer
Posted by
dxli on
Dec 30, 2024; 2:55am
URL: https://forum.librecad.org/Question-about-RS-EntityContainer-tp5725899p5725907.html
Need to verify with all existing usages of this method.
johnfound wrote
dxli wrote
We may have to redesign the undo/redo and ownership.
1. Undo/redo should be able to do garbage collection (currently, all deleted entities stay, even if not reachable anymore);
2. Clear ownership, for example, requiring each entity to have a unique owning container.
Great, but I still can't see the relation with the reparenting. These are totally different things.
BTW, I simply removed the reparent method from RS_EntityContainer and some rendering issues disappeared. Besides the fixed rendering bug, no negative issues.