Skip to content

Commit

Permalink
install: use tools instead of common directory for shaders (MRVN-Radi…
Browse files Browse the repository at this point in the history
  • Loading branch information
Baklojan authored Aug 25, 2024
1 parent fe18d86 commit cdd17d8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions install/gamepacks/games/ApexLegends.game
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
default_scale="0.25"
q3map2_type="quake3"
no_patch="0"
common_shaders_name="Common"
common_shaders_dir="common/"
common_shaders_name="Tools"
common_shaders_dir="tools/"
no_bsp_monitor="0"
shader_trigger="textures/tools/toolstrigger"
/>
4 changes: 2 additions & 2 deletions install/gamepacks/games/Titanfall2.game
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
default_scale="0.25"
q3map2_type="quake3"
no_patch="0"
common_shaders_name="Common"
common_shaders_dir="common/"
common_shaders_name="Tools"
common_shaders_dir="tools/"
no_bsp_monitor="0"
shader_trigger="textures/tools/toolstrigger"
/>
4 changes: 2 additions & 2 deletions install/gamepacks/games/TitanfallOnline.game
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
default_scale="0.25"
q3map2_type="quake3"
no_patch="0"
common_shaders_name="Common"
common_shaders_dir="common/"
common_shaders_name="Tools"
common_shaders_dir="tools/"
no_bsp_monitor="0"
shader_trigger="textures/tools/toolstrigger"
/>
2 changes: 1 addition & 1 deletion radiant/filterbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void SetCommonShader( const char* name ){


const char* GetCaulkShader(){
static const char* caulk_shader = string_clone( GetCommonShader( "caulk" ).c_str() );
static const char* caulk_shader = string_clone( GetCommonShader( "toolsnodraw" ).c_str() );
return caulk_shader;
}

Expand Down
2 changes: 1 addition & 1 deletion radiant/texwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class TextureBrowser
m_showShaders( true ),
m_showTextures( true ),
m_showTextureScrollbar( true ),
m_startupShaders( STARTUPSHADERS_NONE ),
m_startupShaders( STARTUPSHADERS_COMMON ),
m_hideUnused( false ),
m_searchedTags( false ),
m_tags( false ),
Expand Down

0 comments on commit cdd17d8

Please sign in to comment.