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

Method setModified

radiantcore/map/Map.cpp:499–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void Map::setModified(bool modifiedFlag)
500{
501 if (_modified != modifiedFlag)
502 {
503 _modified = modifiedFlag;
504
505 // when the map is modified, let the listeners now
506 signal_modifiedChanged().emit();
507 }
508
509 // Reset the map save timer
510 _mapSaveTimer.restart();
511}
512
513sigc::signal<void>& Map::signal_modifiedChanged()
514{

Callers 9

CreateNewLayerMethod · 0.80
renameSelectedLayerMethod · 0.80
createLayerMethod · 0.80
renameLayerMethod · 0.80
deleteLayerMethod · 0.80
addSelectionToLayerMethod · 0.80
moveSelectionToLayerMethod · 0.80
storeMethod · 0.80

Calls 1

restartMethod · 0.80

Tested by

no test coverage detected