]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
radiant: also filter subtelhint with “Filter hints” menu, <3 @Viech
authorThomas Debesse <dev@illwieckz.net>
Sat, 24 Apr 2021 01:04:39 +0000 (03:04 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sat, 24 Apr 2021 01:04:39 +0000 (03:04 +0200)
radiant/brushmanip.cpp

index fc3054e1516d6e308656587e729fadb3b523143f..a3f7351ec43c89fe3b2aa97df670b336ab102a25 100644 (file)
@@ -859,6 +859,9 @@ filter_brush_any_face g_filter_brush_hint_q2( &g_filter_face_hint_q2 );
 filter_face_shader g_filter_face_hint_ja( "textures/system/hint" );
 filter_brush_any_face g_filter_brush_hint_ja( &g_filter_face_hint_ja );
 
+filter_face_shader g_filter_face_subtlehint( "textures/common/subtlehint" );
+filter_brush_any_face g_filter_brush_subtlehint( &g_filter_face_subtlehint );
+
 filter_face_shader g_filter_face_areaportal( "textures/common/areaportal" );
 filter_brush_all_faces g_filter_brush_areaportal( &g_filter_face_areaportal );
 
@@ -896,6 +899,7 @@ void BrushFilters_construct(){
        add_brush_filter( g_filter_brush_hint, EXCLUDE_HINTSSKIPS );
        add_brush_filter( g_filter_brush_hint_q2, EXCLUDE_HINTSSKIPS );
        add_brush_filter( g_filter_brush_hint_ja, EXCLUDE_HINTSSKIPS );
+       add_brush_filter( g_filter_brush_subtlehint, EXCLUDE_HINTSSKIPS );
        add_brush_filter( g_filter_brush_clusterportal, EXCLUDE_CLUSTERPORTALS );
        add_brush_filter( g_filter_brush_visportal, EXCLUDE_VISPORTALS );
        add_brush_filter( g_filter_brush_areaportal, EXCLUDE_AREAPORTALS );