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

Function getSelectedBrushes

radiantcore/selection/algorithm/Primitives.cpp:89–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89BrushPtrVector getSelectedBrushes()
90{
91 BrushPtrVector returnVector;
92
93 GlobalSelectionSystem().foreachBrush([&] (Brush& brush)
94 {
95 returnVector.push_back(std::static_pointer_cast<BrushNode>(brush.getBrushNode().shared_from_this()));
96 });
97
98 return returnVector;
99}
100
101FacePtrVector getSelectedFaces()
102{

Callers 7

splitBrushesByPlaneFunction · 0.85
createCMFromSelectionFunction · 0.85
makeVisportalFunction · 0.85
hollowSelectedBrushesFunction · 0.85
mergeSelectedBrushesFunction · 0.85

Calls 2

foreachBrushMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected