FIXED: COMP.copy not undoable

It seems that the copy method of the compClass is not udoable, contrary to create, which works fine.

# Does not work! Cannot be Undone!
ui.undo.startBlock("Copy", enable = True)
parent().copy(op("prefab"), name = "Foobar")
ui.undo.endBlock()
# Does work as intendet. Can be undone via CTRL+Z
ui.undo.startBlock("Create", enable = True)
parent().create(baseCOMP, "Foobar")
ui.undo.endBlock()

Thanks for the report. It’s logged and we’ll fix.

This will be fixed in builds 2023.11840 and later.
Cheers

1 Like