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

Method clear

radiantcore/undo/UndoSystem.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void UndoSystem::clear()
125{
126 setActiveUndoStack(nullptr);
127 _undoStack.clear();
128 _redoStack.clear();
129 _eventSignal.emit(EventType::AllOperationsCleared, std::string());
130
131 // greebo: This is called on map shutdown, so don't clear the observers,
132 // there are some "persistent" observers like EntityInspector and ShaderClipboard
133}
134
135sigc::signal<void(IUndoSystem::EventType, const std::string&)>& UndoSystem::signal_undoEvent()
136{

Callers 1

startMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected