MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / Paste

Method Paste

Source/Editors/map_editor.cpp:1353–1359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1351}
1352
1353void 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
1361static bool HasSelectedDeletableParent(Object* obj) {
1362 if (obj->parent) {

Callers

nothing calls this directly

Calls 4

RibbonFlashFunction · 0.85
PathClass · 0.50

Tested by

no test coverage detected