Skip to content

Commit

Permalink
keepLoaded += Agencies
Browse files Browse the repository at this point in the history
- added /Agencies/ to keepLoaded to fix a rare contract flag issue
- fixed resizing of reset to default GUI button
  • Loading branch information
ducakar committed Aug 13, 2015
1 parent 5f6a3e7 commit c5b2c66
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
8 changes: 5 additions & 3 deletions GameData/TextureReplacer/@Default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ TextureReplacer
// textures but not UI icons. The strings are case-sensitive on all platforms.
// The list must be space- and/or comma-separated and in one line.
// Duplicated lists are joined.
generateMipmaps = /FX/ /Parts/ /Props/ /Spaces/ ^ART/ ^ASET(_Props)?/ ^FASA/
generateMipmaps = ^KAS/Textures/ ^Lionhead_Aerospace_Inc/ ^Regolith/Assets/
generateMipmaps = ^RetroFuture/ ^SnacksPartsByWhyren/ ^UmbraSpaceIndustries/
generateMipmaps = /FX/ /Parts/ /Props/ /Spaces/
generateMipmaps = ^ART/ ^ASET(_Props)?/ ^FASA/ ^KAS/Textures/
generateMipmaps = ^Lionhead_Aerospace_Inc/ ^Regolith/Assets/ ^RetroFuture/
generateMipmaps = ^SnacksPartsByWhyren/ ^UmbraSpaceIndustries/
// Some textures (all JPEGs, PNGs and TGAs plus MBM tagged as "readable") are
// kept loaded in RAM. Since this feature is rarely actually needed those
Expand All @@ -39,6 +40,7 @@ TextureReplacer
// unloaded.
// The list must be space- and/or comma-separated and in one line.
// Duplicated lists are joined.
keepLoaded = /Agencies/
keepLoaded = ^BoulderCo/(Clouds|Atmosphere)/ ^CommunityResourcePack/
keepLoaded = ^CustomBiomes/PluginData/CustomBiomes/ ^KittopiaSpace/Textures/
keepLoaded = ^Kopernicus/Textures/ ^Romfarer/textures/
Expand Down
2 changes: 1 addition & 1 deletion GameData/TextureReplacer/TextureReplacer.version
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"VERSION": {
"MAJOR": 2,
"MINOR": 4,
"PATCH": 7,
"PATCH": 8,
"BUILD": 0
},
"KSP_VERSION": {
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ Known Issues
Change Log
----------

* 2.4.8
- fixed some contract-related issues by keeping agencies' flags loaded
- fixed Reset to Defaults button resizing
* 2.4.7
- suit's level textures are inherited from the previous level when missing
* 2.4.6
Expand Down
2 changes: 1 addition & 1 deletion TextureReplacer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Global
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
version = 2.4.7
version = 2.4.8
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion TextureReplacer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
[assembly: AssemblyCopyright("© 2014 Davorin Učakar, Ryan Bray")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("2.4.7.*")]
[assembly: AssemblyVersion("2.4.8.*")]
4 changes: 2 additions & 2 deletions TextureReplacer/TRGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ void windowHandler(int id)
GUILayout.BeginVertical();
GUILayout.BeginHorizontal();

GUILayout.BeginVertical();
GUILayout.BeginVertical(GUILayout.Width(200));

// Roster area.
rosterScroll = GUILayout.BeginScrollView(rosterScroll, GUILayout.Width(200));
rosterScroll = GUILayout.BeginScrollView(rosterScroll);
GUILayout.BeginVertical();

foreach (ProtoCrewMember kerbal in HighLogic.CurrentGame.CrewRoster.Crew)
Expand Down
6 changes: 3 additions & 3 deletions TextureReplacer/TextureReplacer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<OutputType>Library</OutputType>
<RootNamespace>TextureReplacer</RootNamespace>
<AssemblyName>TextureReplacer</AssemblyName>
<ReleaseVersion>2.4.7</ReleaseVersion>
<ReleaseVersion>2.4.8</ReleaseVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
Expand Down Expand Up @@ -55,11 +55,11 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="UnityEngine">
<HintPath>..\..\..\..\Apps\KSP-test\KSP_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\..\..\..\..\run\media\davorin\Windows 7\KSP\KSP_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\Apps\KSP-test\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\..\..\..\..\run\media\davorin\Windows 7\KSP\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
Expand Down

0 comments on commit c5b2c66

Please sign in to comment.