Skip to content

Commit

Permalink
#5584: Highlight rendering of selected model nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jan 9, 2022
1 parent 9660303 commit 084bdd3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions radiantcore/model/StaticModelNode.cpp
Expand Up @@ -133,6 +133,12 @@ void StaticModelNode::renderWireframe(IRenderableCollector& collector, const Vol

void StaticModelNode::renderHighlights(IRenderableCollector& collector, const VolumeTest& volume)
{
auto identity = Matrix4::getIdentity();

for (const auto& surface : _renderableSurfaces)
{
collector.addHighlightRenderable(*surface, identity);
}
#if 0
if (collector.supportsFullMaterials())
{
Expand Down

0 comments on commit 084bdd3

Please sign in to comment.