From 88805013d4cc8140a2de5c2c4b4431dbee645ba5 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sun, 7 Jan 2018 05:31:42 +0100 Subject: [PATCH] print hidden empty shader/texture dirs on console <3 @Pan7 --- radiant/texwindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index eef1cdaa..eb436b28 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -685,6 +685,10 @@ void FillTextureList( GSList** pArray ) { texdirs = g_slist_append( texdirs, g_strdup( (char *)p->data ) ); } + else + { + Sys_Printf( "Hiding empty texture dir: %s\n", g_strdup( (char *)p->data ) ); + } } vfsClearFileDirList( &texdirs_tmp ); } @@ -723,6 +727,10 @@ void FillTextureList( GSList** pArray ) { texdirs = g_slist_prepend( texdirs, g_strdup( shaderfile ) ); } + else + { + Sys_Printf( "Hiding empty shader dir: %s\n", g_strdup ( shaderfile ) ); + } } free( l_shaderfiles->data );