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

Method connectUndoSystem

radiantcore/model/StaticModel.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void StaticModel::connectUndoSystem(IUndoSystem& undoSystem)
52{
53 assert(_undoStateSaver == nullptr);
54
55 _undoStateSaver = undoSystem.getStateSaver(*this);
56}
57
58void StaticModel::disconnectUndoSystem(IUndoSystem& undoSystem)
59{

Callers 1

onInsertIntoSceneMethod · 0.45

Calls 1

getStateSaverMethod · 0.80

Tested by

no test coverage detected