Added erase many and place many canvas undo
This commit is contained in:
parent
2dec0ab2c5
commit
279801623d
7 changed files with 291 additions and 10 deletions
|
|
@ -45,6 +45,10 @@ void CanvasComponentContainer::register_class(World& w) {
|
|||
});
|
||||
}
|
||||
|
||||
void CanvasComponentContainer::reassign_netobj_ids_call() {
|
||||
compAllocator.reassign_ids();
|
||||
}
|
||||
|
||||
std::unique_ptr<CanvasComponentContainer::CopyData> CanvasComponentContainer::get_data_copy() const {
|
||||
auto toRet = std::make_unique<CanvasComponentContainer::CopyData>();
|
||||
toRet->coords = coords;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue