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

Method disconnectUndoSystem

radiantcore/patch/Patch.cpp:163–169  ·  view source on GitHub ↗

Remove the attached instance and decrease the counters

Source from the content-addressed store, hash-verified

161
162// Remove the attached instance and decrease the counters
163void Patch::disconnectUndoSystem(IUndoSystem& undoSystem)
164{
165 assert(_undoStateSaver);
166
167 _undoStateSaver = nullptr;
168 undoSystem.releaseStateSaver(*this);
169}
170
171// Return the interally stored AABB
172const AABB& Patch::localAABB() const

Callers 1

onRemoveFromSceneMethod · 0.45

Calls 1

releaseStateSaverMethod · 0.80

Tested by

no test coverage detected