We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f846043 commit 04edc7aCopy full SHA for 04edc7a
GameData/000_TexturesUnlimited/Plugins/TexturesUnlimited.dll
0 Bytes
Plugin/SSTUTools/KSPShaderTools/Module/KSPTextureSwitch.cs
@@ -95,7 +95,7 @@ private void loadConfigData()
95
96
private Transform[] getModelTransforms()
97
{
98
- return string.IsNullOrEmpty(transformName) ? part.transform.FindChildren("model") : part.transform.FindRecursive("model").FindChildren(transformName);
+ return string.IsNullOrEmpty(transformName) ? new Transform[] { part.transform.FindRecursive("model") } : part.transform.FindRecursive("model").FindChildren(transformName);
99
}
100
101
public string[] getSectionNames()
0 commit comments