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

Method connectUndoSystem

radiantcore/patch/Patch.cpp:154–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void Patch::connectUndoSystem(IUndoSystem& undoSystem)
155{
156 assert(!_undoStateSaver);
157
158 // Acquire a new state saver
159 _undoStateSaver = undoSystem.getStateSaver(*this);
160}
161
162// Remove the attached instance and decrease the counters
163void Patch::disconnectUndoSystem(IUndoSystem& undoSystem)

Callers 1

onInsertIntoSceneMethod · 0.45

Calls 1

getStateSaverMethod · 0.80

Tested by

no test coverage detected