Skip to content

Commit

Permalink
add initial implementation of texture-switching plugin, with support …
Browse files Browse the repository at this point in the history
…for sided model plugin
  • Loading branch information
shadowmage45 committed Jul 5, 2017
1 parent 7721e72 commit f5d2ccf
Show file tree
Hide file tree
Showing 3 changed files with 486 additions and 0 deletions.
1 change: 1 addition & 0 deletions VSProject/KSPWheel/PartModules/KSPWheelSidedModel.cs
Expand Up @@ -75,6 +75,7 @@ private void setupModel()
modelClone.transform.parent = modelRoot;
modelClone.transform.localPosition = Vector3.zero;
modelClone.transform.localRotation = Quaternion.identity;
part.gameObject.SendMessage("onPartGeometryChanged");//triggers texture-set module to reinit texture sets
}

private KSPWheelSidedModel findCloneModule()
Expand Down

0 comments on commit f5d2ccf

Please sign in to comment.