Skip to content

Commit

Permalink
Merge pull request #122 from UmbraSpaceIndustries/DEVELOP
Browse files Browse the repository at this point in the history
Fixed issue causing categories not to show
  • Loading branch information
BobPalmer authored Oct 8, 2017
2 parents 18bba47 + 773dfb8 commit 8f2fbe7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions FOR_RELEASE/GameData/000_USITools/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.10.1 - 2017.10.09
------------------
Fixed issue preventing categories from showing

0.10.0 - 2017.10.09
------------------
KSP 1.3.1
Expand Down
Binary file modified FOR_RELEASE/GameData/000_USITools/USITools.dll
Binary file not shown.
Binary file modified FOR_RELEASE/GameData/000_USITools/USITools.dll.mdb
Binary file not shown.
Binary file modified FOR_RELEASE/GameData/000_USITools/USITools.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion FOR_RELEASE/GameData/000_USITools/USITools.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"VERSION":{
"MAJOR":0,
"MINOR":10,
"PATCH":0,
"PATCH":1,
"BUILD":0
},
"KSP_VERSION":{
Expand Down
4 changes: 2 additions & 2 deletions USITools/USITools/PartCatalog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ protected override string categoryTitle
public abstract class BaseFilter : MonoBehaviour
{
private readonly List<AvailablePart> parts = new List<AvailablePart>();
internal string category = "Filter by function";
internal string category = "#autoLOC_453547";
internal bool filter = true;
protected abstract string Manufacturer { get; set; }
protected abstract string categoryTitle { get; set; }
Expand Down Expand Up @@ -133,7 +133,7 @@ private bool EditorItemsFilter(AvailablePart avPart)
private void SubCategories()
{
var icon = GenIcon(categoryTitle);
var filter = PartCategorizer.Instance.filters.Find(f => f.button.categoryName == category);
var filter = PartCategorizer.Instance.filters.Find(f => f.button.categorydisplayName == category);
PartCategorizer.AddCustomSubcategoryFilter(filter, categoryTitle, categoryTitle, icon, EditorItemsFilter);
}

Expand Down

0 comments on commit 8f2fbe7

Please sign in to comment.