draw event frame for pasted events
This commit is contained in:
parent
97f2980cf0
commit
056b2164a8
1 changed files with 1 additions and 1 deletions
|
@ -1528,7 +1528,6 @@ void MainWindow::paste() {
|
||||||
case 0:
|
case 0:
|
||||||
{
|
{
|
||||||
// can only paste currently selected metatiles on this tab
|
// can only paste currently selected metatiles on this tab
|
||||||
// can only paste events to this tab
|
|
||||||
if (pasteObject["object"].toString() != "metatile_selection") {
|
if (pasteObject["object"].toString() != "metatile_selection") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1594,6 +1593,7 @@ void MainWindow::paste() {
|
||||||
}
|
}
|
||||||
|
|
||||||
editor->map->editHistory.push(new EventPaste(this->editor, editor->map, newEvents));
|
editor->map->editHistory.push(new EventPaste(this->editor, editor->map, newEvents));
|
||||||
|
updateObjects();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue