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

Function invertSelection

radiantcore/selection/algorithm/General.cpp:433–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431};
432
433void invertSelection(const cmd::ArgumentList& args)
434{
435 if (GlobalSelectionSystem().getSelectionMode() == SelectionMode::Component)
436 {
437 InvertComponentSelectionWalker walker(GlobalSelectionSystem().ComponentMode());
438 GlobalSceneGraph().root()->traverse(walker);
439 }
440 else
441 {
442 InvertSelectionWalker walker(GlobalSelectionSystem().getSelectionMode());
443 GlobalSceneGraph().root()->traverse(walker);
444 }
445}
446
447void deleteSelection()
448{

Callers

nothing calls this directly

Calls 4

ComponentModeMethod · 0.80
getSelectionModeMethod · 0.45
traverseMethod · 0.45
rootMethod · 0.45

Tested by

no test coverage detected