Login  Register

Re: Question about RS_EntityContainer

Posted by johnfound on Dec 30, 2024; 1:33am
URL: https://forum.librecad.org/Question-about-RS-EntityContainer-tp5725899p5725906.html

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.