MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / undoCmd

Method undoCmd

radiantcore/map/Map.cpp:1041–1051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039}
1040
1041void Map::undoCmd(const cmd::ArgumentList& args)
1042{
1043 try
1044 {
1045 getUndoSystem().undo();
1046 }
1047 catch (const std::runtime_error& err)
1048 {
1049 throw cmd::ExecutionNotPossible(err.what());
1050 }
1051}
1052
1053void Map::redoCmd(const cmd::ArgumentList& args)
1054{

Callers

nothing calls this directly

Calls 3

undoMethod · 0.80
whatMethod · 0.80

Tested by

no test coverage detected