| 1351 | } |
| 1352 | |
| 1353 | void MapEditor::Paste(const LineSegment& mouseray) { |
| 1354 | RibbonFlash(gui, "paste"); |
| 1355 | EntityDescriptionList fixed_copy_list = copy_desc_list_; |
| 1356 | ActorsEditor_UnlocalizeIDs(&fixed_copy_list, scenegraph_); |
| 1357 | ActorsEditor_AddEntitiesAtMouse(Path(), scenegraph_, fixed_copy_list, mouseray, false); |
| 1358 | QueueSaveHistoryState(); |
| 1359 | } |
| 1360 | |
| 1361 | static bool HasSelectedDeletableParent(Object* obj) { |
| 1362 | if (obj->parent) { |
nothing calls this directly
no test coverage detected