mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
print hidden empty shader/texture dirs on console <3 @Pan7
This commit is contained in:
parent
b1c4fb1304
commit
88805013d4
1 changed files with 8 additions and 0 deletions
|
@ -685,6 +685,10 @@ void FillTextureList( GSList** pArray )
|
||||||
{
|
{
|
||||||
texdirs = g_slist_append( texdirs, g_strdup( (char *)p->data ) );
|
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 );
|
vfsClearFileDirList( &texdirs_tmp );
|
||||||
}
|
}
|
||||||
|
@ -723,6 +727,10 @@ void FillTextureList( GSList** pArray )
|
||||||
{
|
{
|
||||||
texdirs = g_slist_prepend( texdirs, g_strdup( shaderfile ) );
|
texdirs = g_slist_prepend( texdirs, g_strdup( shaderfile ) );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Sys_Printf( "Hiding empty shader dir: %s\n", g_strdup ( shaderfile ) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
free( l_shaderfiles->data );
|
free( l_shaderfiles->data );
|
||||||
|
|
Loading…
Reference in a new issue