Skip to content

Commit

Permalink
Fix suit type switching to work on first scene load
Browse files Browse the repository at this point in the history
  • Loading branch information
ducakar committed Aug 7, 2020
1 parent 983c472 commit 480f031
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 3 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Change Log #

* 4.2.2
- fix suit switches via TR GUI not being applied on the first scene switch
* 4.2.1
- hide suit collar of future suit in IVA if hidden in EVA
- hide collar of future suit in IVA when hidden on EVA
* 4.2
- rebuilt for KSP 1.10
- add GUI option to toggle suit personalisation
Expand Down
2 changes: 1 addition & 1 deletion GameData/TextureReplacer/TextureReplacer.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 10,
"PATCH": 0
"PATCH": 1
},
"KSP_VERSION_MAX": {
"MAJOR": 1,
Expand Down
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,8 @@ DDS with DXT5nm compression or by manually shuffling channels: RGBA -> GGGR.

## Known Issues ##

* Switching between default, vintage and future suit models:
- TextureReplacer will only detect the switch done via clothes hanger on
second flight scene load.
- EVA models on existing flights will only be updated on second flight scene
load when switched via TextureReplacer's GUI.
* Head normal maps:
- [KSP bug] Head meshes have mismatched tangents or binormals along lines
where head texture is "stitched" together.
* Issues with other mods:
- Clouds from EVE are not reflected at certain altitudes.
* Switches between suit types (standard, vindage and future) done via stock GUI
will only be reflected in TextureReplacer's GUI after the next scene load.
* (KSP bug) Head meshes have mismatched tangents and/or binormals along the back
of the head, where the texture is stitched together.
* Clouds from EVE are not reflected at certain altitudes.
3 changes: 3 additions & 0 deletions TextureReplacer/TRGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,9 @@ private static void UpdateKerbalSuitKinds()

if (suit != null && suit.Kind != kerbal.suit) {
kerbal.suit = suit.Kind;
kerbal.SuitTexturePath = null;
kerbal.NormalTexturePath = null;
kerbal.SpritePath = null;
}
}
}
Expand Down

0 comments on commit 480f031

Please sign in to comment.