Skip to content

Commit

Permalink
Rebuilt for KSP 0.25.
Browse files Browse the repository at this point in the history
  • Loading branch information
e-dog committed Oct 11, 2014
1 parent f9492a0 commit fc947ba
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
Binary file modified GameData/ProceduralFairings/KSPAPIExtensions.dll
Binary file not shown.
Binary file modified GameData/ProceduralFairings/ProceduralFairings.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Misc/makezip.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set name=C:\games\KSPtest\ProcFairings_3.09.zip
set name=C:\games\KSPtest\ProcFairings_3.10.zip
del %name%
7z a %name% readme.txt
cd ..
Expand Down
4 changes: 4 additions & 0 deletions Misc/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Right-click parts and use tweakables.
Maximum (and minimum) part size is limited by tech. See GameData/ProceduralFairings/common.cfg for details.

--- Version history ---
3.10
-Updated KAE DLL for KSP 0.25.
-Payload auto-struts by marce155.

3.09
-Updated KAE DLL.

Expand Down
26 changes: 13 additions & 13 deletions Source/utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,19 @@ public static Part partFromHit(this RaycastHit hit)
return p;
}

public static List<Part> getAllChildrenRecursive(this Part rootPart, bool root = false)
{
var children = new List<Part>();
if (!root)
{
children.Add(rootPart);
}
foreach (var child in rootPart.children)
{
children.AddRange(child.getAllChildrenRecursive());
}
return children;
}
public static List<Part> getAllChildrenRecursive(this Part rootPart, bool root)
{
var children = new List<Part>();
if (!root)
{
children.Add(rootPart);
}
foreach (var child in rootPart.children)
{
children.AddRange(child.getAllChildrenRecursive(false));
}
return children;
}
}


Expand Down

0 comments on commit fc947ba

Please sign in to comment.