I found some issues:
- Items copied by copy/paste can't be undo.
- Undo/redo system is not working well. Sometimes items redued can't be undo again. Repeated undo/redo may cause crash.
I'm trying to refactor undo/redo system now.
arcachofo wrote:Yes, the Undo/Redo system still need some work.
Maybe even a complete redesign. If you have some idea please let me know.
royqh1979 wrote:Unsolved issues:
When a component is removed, how to know the connectors that auto removed with it.
Node is auto generated when connect to line. And auto removed the connector is removed. With its removal, other connectors connected to it are also removed. This might cause a deleted connector obj to be delete again (and crash).
When undo copy, how to handle it. Maybe smartpointer?
arcachofo wrote:Patch applied at Rev 1859.
Your work in the Undo/Redo system is beyond excellent.
I was procastinating on this because by brain hurts just by thinking about working on it.
So I'm eternally grateful.
I made some changes for the "copy by drag" feature:
- Changed it to Ctrl+Shift because only Ctrl was interfering with other features.
- Simplified it a little bit (still some issue to solve).
Permissions in this forum:
You cannot reply to topics in this forum