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

Method onPreRender

radiantcore/selection/RadiantSelectionSystem.cpp:937–956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935}
936
937void RadiantSelectionSystem::onPreRender(const VolumeTest& volume)
938{
939 if (!nothingSelected())
940 {
941 auto renderSystem = GlobalMapModule().getRoot()->getRenderSystem();
942
943 if (renderSystem)
944 {
945 _activeManipulator->onPreRender(renderSystem, volume);
946 }
947 else
948 {
949 _activeManipulator->clearRenderables();
950 }
951 }
952 else
953 {
954 _activeManipulator->clearRenderables();
955 }
956}
957
958void RadiantSelectionSystem::onSceneBoundsChanged()
959{

Callers

nothing calls this directly

Calls 3

getRenderSystemMethod · 0.45
getRootMethod · 0.45
clearRenderablesMethod · 0.45

Tested by

no test coverage detected