X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Frenderer.h;h=d94afcadd3d28716ee75e686d193d5b3e3234c4d;hb=8c4e2fcb9c77360f0918be91642777f91fc99e53;hp=c67cf0ea1cee2362e052af06d95a9316dfcf83df;hpb=18d60f90d7603cb420150739251cf98519c57406;p=xonotic%2Fnetradiant.git diff --git a/radiant/renderer.h b/radiant/renderer.h index c67cf0ea..d94afcad 100644 --- a/radiant/renderer.h +++ b/radiant/renderer.h @@ -149,7 +149,10 @@ bool pre( const scene::Path& path, scene::Instance& instance, VolumeIntersection else if ( renderable ) { renderable->renderComponents( m_renderer, m_volume ); } - m_renderer.Highlight( Renderer::ePrimitive ); + //if( !(GlobalSelectionSystem().Mode() == SelectionSystem::eComponent && path.size() == 2) ) + //if( !( GlobalSelectionSystem().Mode() == SelectionSystem::eComponent && node_is_group( path.top() ) ) ) + if( !( GlobalSelectionSystem().Mode() == SelectionSystem::eComponent && Node_isEntity( path.top() ) ) ) + m_renderer.Highlight( Renderer::ePrimitive ); } if ( renderable ) {