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

Method rename

radiantcore/map/Map.cpp:1231–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1229}
1230
1231void Map::rename(const std::string& filename)
1232{
1233 if (_mapName != filename)
1234 {
1235 setMapName(filename);
1236 SceneChangeNotify();
1237 }
1238 else
1239 {
1240 _resource->save();
1241 setModified(false);
1242 }
1243}
1244
1245void Map::exportSelected(std::ostream& out)
1246{

Callers 1

setMapNameMethod · 0.45

Calls 2

SceneChangeNotifyFunction · 0.85
saveMethod · 0.45

Tested by

no test coverage detected