dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

[CHANGE] - Recude the undo/redo command scope for the import menu #1188

Closed mariusalexander closed 4 months ago

mariusalexander commented 4 months ago

Summary

It seems to me that the import menu is using a project wide scope for undo/redo command when a object wide scope may suffice. This could reduce lag spikes for larger projects. But we a´have to check if this is indeed a mistake in the import menu.

See below

https://github.com/dlr-gtlab/gtlab-core/blob/bca377172d6df52e1ece73d743c7ac3067735f30/src/gui/importer/gt_importmenu.cpp#L123-L141

Impact on the codebase

Minimal.

Current workarounds

None.