mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00

It has to iterate over all layers and do string comparison to find the index back. Instead we just keep track of the index so this should improve performance a bit.