Skip to content

Commit

Permalink
Preparing for 1.4.3 and 1.3.1 backports
Browse files Browse the repository at this point in the history
StollD committed Apr 27, 2018
1 parent 7d58794 commit fc0984c
Showing 30 changed files with 68 additions and 2,419 deletions.
12 changes: 4 additions & 8 deletions src/Kopernicus.Components/Kopernicus.Components.csproj
Original file line number Diff line number Diff line change
@@ -32,11 +32,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\Assembly-CSharp.1.4.2\lib\net35\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\packages\Assembly-CSharp.1.4.3\lib\net35\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ModularFlightIntegrator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\ModularFlightIntegrator.1.2.4.2\lib\net35\ModularFlightIntegrator.dll</HintPath>
<HintPath>..\..\packages\ModularFlightIntegrator.1.2.5.0\lib\net35\ModularFlightIntegrator.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System">
@@ -46,11 +46,11 @@
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\UnityEngine.1.4.2\lib\net35\UnityEngine.dll</HintPath>
<HintPath>..\..\packages\UnityEngine.1.4.3\lib\net35\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\UnityEngine.UI.1.4.2\lib\net35\UnityEngine.UI.dll</HintPath>
<HintPath>..\..\packages\UnityEngine.UI.1.4.3\lib\net35\UnityEngine.UI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
@@ -61,10 +61,6 @@
<Compile Include="KopernicusBuoyancy.cs" />
<Compile Include="KopernicusOrbitRendererData.cs" />
<Compile Include="KopernicusSolarPanel.cs" />
<Compile Include="KopernicusStarAFG.cs" />
<Compile Include="KopernicusStarOcclusion.cs" />
<Compile Include="KopernicusStarSkybox.cs" />
<Compile Include="KopernicusStarTimeOfDay.cs" />
<Compile Include="KSC.cs" />
<Compile Include="LightShifter.cs" />
<Compile Include="MaterialWrapper\AerialTransCutout.cs" />
4 changes: 4 additions & 0 deletions src/Kopernicus.Components/KopernicusOrbitRendererData.cs
Original file line number Diff line number Diff line change
@@ -44,7 +44,11 @@ public Color nodeColor
set { _nodeColor.SetValue(this, value); }
}

#if !KSP131
public KopernicusOrbitRendererData(CelestialBody body, OrbitRendererBase renderer) : base(body)
#else
public KopernicusOrbitRendererData(CelestialBody body, OrbitRenderer renderer) : base(body)
#endif
{
orbitColor = renderer.orbitColor;
nodeColor = renderer.nodeColor;
28 changes: 4 additions & 24 deletions src/Kopernicus.Components/KopernicusStar.cs
Original file line number Diff line number Diff line change
@@ -74,23 +74,6 @@ public class KopernicusStar : Sun
/// </summary>
public KopernicusSunFlare lensFlare;

/// <summary>
/// Determines how much of the stars surface is blocked by other bodies
/// </summary>
public KopernicusStarOcclusion occlusion;

/// <summary>
/// Returns how intense the starlight is, compared to stock
/// </summary>
public Single RelativeIntensity
{
get
{
return shifter.intensityCurve.Evaluate((Single) Vector3d.Distance(sun.position,
ScaledSpace.ScaledToLocalSpace(target.position))) / 0.9f;
}
}

/// <summary>
/// Override for <see cref="FlightIntegrator.CalculateSunBodyFlux"/>
/// </summary>
@@ -216,9 +199,6 @@ protected override void Awake()
Stars.Add(this);
DontDestroyOnLoad(this);
light = gameObject.GetComponent<Light>();
occlusion = new GameObject().AddComponent<KopernicusStarOcclusion>();
occlusion.Star = this;
DontDestroyOnLoad(occlusion);

// Gah
typeof(Sun).GetFields(BindingFlags.Instance | BindingFlags.NonPublic).Last(f => f.FieldType == typeof(Light)).SetValue(this, light);
@@ -293,21 +273,21 @@ void LateUpdate()
{
light.color = shifter.sunlightColor;
light.intensity =
shifter.intensityCurve.Evaluate((Single) Vector3d.Distance(sun.position, localSpace)) * occlusion.VisibleArea;
shifter.intensityCurve.Evaluate((Single) Vector3d.Distance(sun.position, localSpace));
light.shadowStrength = shifter.sunlightShadowStrength;
}

// Patch the ScaledSpace light
if (scaledSunLight)
{
scaledSunLight.color = shifter.scaledSunlightColor;
scaledSunLight.intensity = shifter.scaledIntensityCurve.Evaluate((Single)Vector3d.Distance(ScaledSpace.LocalToScaledSpace(sun.position), target.position)) * occlusion.VisibleArea;
scaledSunLight.intensity = shifter.scaledIntensityCurve.Evaluate((Single)Vector3d.Distance(ScaledSpace.LocalToScaledSpace(sun.position), target.position));
}

if (HighLogic.LoadedSceneIsFlight && iva?.GetComponent<Light>())
{
iva.GetComponent<Light>().color = shifter.IVASunColor;
iva.GetComponent<Light>().intensity = shifter.ivaIntensityCurve.Evaluate((Single)Vector3d.Distance(sun.position, localSpace)) * occlusion.VisibleArea;
iva.GetComponent<Light>().intensity = shifter.ivaIntensityCurve.Evaluate((Single)Vector3d.Distance(sun.position, localSpace));
}

// Set SunFlare color
@@ -318,7 +298,7 @@ void LateUpdate()
lensFlare.brightnessCurve = shifter.brightnessCurve.Curve;
lensFlare.sun = sun;
lensFlare.target = target;
lensFlare.occlusionMultiplier = 1 * occlusion.VisibleArea;
lensFlare.occlusionMultiplier = 1;

// States
Boolean lightsOn = (HighLogic.LoadedSceneIsFlight || HighLogic.LoadedSceneHasPlanetarium || HighLogic.LoadedScene == GameScenes.SPACECENTER);
44 changes: 0 additions & 44 deletions src/Kopernicus.Components/KopernicusStarAFG.cs

This file was deleted.

161 changes: 0 additions & 161 deletions src/Kopernicus.Components/KopernicusStarOcclusion.cs

This file was deleted.

168 changes: 0 additions & 168 deletions src/Kopernicus.Components/KopernicusStarSkybox.cs

This file was deleted.

39 changes: 0 additions & 39 deletions src/Kopernicus.Components/KopernicusStarTimeOfDay.cs

This file was deleted.

8 changes: 4 additions & 4 deletions src/Kopernicus.Components/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Assembly-CSharp" version="1.4.2" targetFramework="net35" />
<package id="ModularFlightIntegrator" version="1.2.4.2" targetFramework="net35" />
<package id="UnityEngine" version="1.4.2" targetFramework="net35" />
<package id="UnityEngine.UI" version="1.4.2" targetFramework="net35" />
<package id="Assembly-CSharp" version="1.4.3" targetFramework="net35" />
<package id="ModularFlightIntegrator" version="1.2.5.0" targetFramework="net35" />
<package id="UnityEngine" version="1.4.3" targetFramework="net35" />
<package id="UnityEngine.UI" version="1.4.3" targetFramework="net35" />
</packages>
6 changes: 3 additions & 3 deletions src/Kopernicus.OnDemand/Kopernicus.OnDemand.csproj
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\Assembly-CSharp.1.4.2\lib\net35\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\packages\Assembly-CSharp.1.4.3\lib\net35\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System">
@@ -43,11 +43,11 @@
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\UnityEngine.1.4.2\lib\net35\UnityEngine.dll</HintPath>
<HintPath>..\..\packages\UnityEngine.1.4.3\lib\net35\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\UnityEngine.UI.1.4.2\lib\net35\UnityEngine.UI.dll</HintPath>
<HintPath>..\..\packages\UnityEngine.UI.1.4.3\lib\net35\UnityEngine.UI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
6 changes: 3 additions & 3 deletions src/Kopernicus.OnDemand/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Assembly-CSharp" version="1.4.2" targetFramework="net35" />
<package id="UnityEngine" version="1.4.2" targetFramework="net35" />
<package id="UnityEngine.UI" version="1.4.2" targetFramework="net35" />
<package id="Assembly-CSharp" version="1.4.3" targetFramework="net35" />
<package id="UnityEngine" version="1.4.3" targetFramework="net35" />
<package id="UnityEngine.UI" version="1.4.3" targetFramework="net35" />
</packages>
16 changes: 16 additions & 0 deletions src/Kopernicus/Configuration/OrbitLoader.cs
Original file line number Diff line number Diff line change
@@ -202,17 +202,33 @@ public ColorParser iconColor

// Orbit Draw Mode
[ParserTarget("mode")]
#if !KSP131
public EnumParser<OrbitRendererBase.DrawMode> mode
#else
public EnumParser<OrbitRenderer.DrawMode> mode
#endif
{
#if !KSP131
get { return Value.Get("drawMode", OrbitRendererBase.DrawMode.REDRAW_AND_RECALCULATE); }
#else
get { return Value.Get("drawMode", OrbitRenderer.DrawMode.REDRAW_AND_RECALCULATE); }
#endif
set { Value.Set("drawMode", value.Value); }
}

// Orbit Icon Mode
[ParserTarget("icon")]
#if !KSP131
public EnumParser<OrbitRendererBase.DrawIcons> icon
#else
public EnumParser<OrbitRenderer.DrawIcons> icon
#endif
{
#if !KSP131
get { return Value.Get("drawIcons", OrbitRendererBase.DrawIcons.ALL); }
#else
get { return Value.Get("drawIcons", OrbitRenderer.DrawIcons.ALL); }
#endif
set { Value.Set("drawIcons", value.Value); }
}

94 changes: 0 additions & 94 deletions src/Kopernicus/Configuration/ParticleSystem/BurstLoader.cs

This file was deleted.

207 changes: 0 additions & 207 deletions src/Kopernicus/Configuration/ParticleSystem/CollisionModuleLoader.cs

This file was deleted.

This file was deleted.

This file was deleted.

113 changes: 0 additions & 113 deletions src/Kopernicus/Configuration/ParticleSystem/EmissionModuleLoader.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

134 changes: 0 additions & 134 deletions src/Kopernicus/Configuration/ParticleSystem/MinMaxCurveLoader.cs

This file was deleted.

125 changes: 0 additions & 125 deletions src/Kopernicus/Configuration/ParticleSystem/MinMaxGradientLoader.cs

This file was deleted.

This file was deleted.

This file was deleted.

127 changes: 0 additions & 127 deletions src/Kopernicus/Configuration/ParticleSystem/ShapeModuleLoader.cs

This file was deleted.

212 changes: 0 additions & 212 deletions src/Kopernicus/Configuration/ParticleSystem/ShurikenLoader.cs

This file was deleted.

9 changes: 5 additions & 4 deletions src/Kopernicus/Kopernicus.csproj
Original file line number Diff line number Diff line change
@@ -29,11 +29,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\Assembly-CSharp.1.4.2\lib\net35\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\packages\Assembly-CSharp.1.4.3\lib\net35\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ModularFlightIntegrator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\ModularFlightIntegrator.1.2.4.2\lib\net35\ModularFlightIntegrator.dll</HintPath>
<HintPath>..\..\packages\ModularFlightIntegrator.1.2.5.0\lib\net35\ModularFlightIntegrator.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System">
@@ -43,11 +43,11 @@
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\UnityEngine.1.4.2\lib\net35\UnityEngine.dll</HintPath>
<HintPath>..\..\packages\UnityEngine.1.4.3\lib\net35\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\UnityEngine.UI.1.4.2\lib\net35\UnityEngine.UI.dll</HintPath>
<HintPath>..\..\packages\UnityEngine.UI.1.4.3\lib\net35\UnityEngine.UI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
@@ -158,6 +158,7 @@
<Compile Include="Configuration\ParticleSystem\LimitVelocityOverLifetimeModuleLoader.cs" />
<Compile Include="Configuration\ParticleSystem\MinMaxCurveLoader.cs" />
<Compile Include="Configuration\ParticleSystem\MinMaxGradientLoader.cs" />
<Compile Include="Configuration\ParticleSystem\NoiseModuleLoader.cs" />
<Compile Include="Configuration\ParticleSystem\RotationBySpeedModuleLoader.cs" />
<Compile Include="Configuration\ParticleSystem\RotationOverLifetimeModuleLoader.cs" />
<Compile Include="Configuration\ParticleSystem\ShapeModuleLoader.cs" />
110 changes: 13 additions & 97 deletions src/Kopernicus/RuntimeUtility/MainMenuFixer.cs
Original file line number Diff line number Diff line change
@@ -58,6 +58,8 @@ void Awake()
}
}

public const Single kerbinRotationPeriod = 21600f;

// Update the menu body
void Start()
{
@@ -72,20 +74,18 @@ void Start()

// Grab the main body
CelestialBody planetCB = PSystemManager.Instance.localBodies.Find(b => b.transform.name == Templates.menuBody);
PSystemBody planet = Utility.FindBody(PSystemManager.Instance.systemPrefab.rootBody, Templates.menuBody);
if (planetCB == null || planet == null)
if (planetCB == null)
{
planet = Utility.FindHomeBody(PSystemManager.Instance.systemPrefab.rootBody);
planetCB = PSystemManager.Instance.localBodies.Find(b => b.isHomeWorld);
}
if (planet == null || planetCB == null)
if (planetCB == null)
{
Debug.LogError("[Kopernicus] Could not find homeworld!");
return;
}

// Load Textures
OnDemand.OnDemandStorage.EnableBody(Templates.menuBody);
OnDemandStorage.EnableBody(Templates.menuBody);

// Get the MainMenu-Logic
MainMenu main = FindObjectOfType<MainMenu>();
@@ -116,24 +116,25 @@ void Start()
kerbin.gameObject.SetActive(false);

// Deactivate Muns Transform
Transform mun = space.transform.Find("MunPivot");
if (mun == null)
Transform munPivot = space.transform.Find("MunPivot");
if (munPivot == null)
{
Debug.LogError("[Kopernicus] No MunPivot transform!");
return;
}
mun.gameObject.SetActive(false);
munPivot.gameObject.SetActive(false);

// Activate the textures
ScaledSpaceOnDemand od = planet.scaledVersion.GetComponentInChildren<ScaledSpaceOnDemand>();
ScaledSpaceOnDemand od = planetCB.scaledBody.GetComponentInChildren<ScaledSpaceOnDemand>();
if (od != null)
{
od.Start();
od.LoadTextures();
}

// Clone the scaledVersion and attach it to the Scene
GameObject menuPlanet = Instantiate(planet.scaledVersion) as GameObject;
GameObject menuPlanet = Instantiate(Utility
.FindBody(PSystemManager.Instance.systemPrefab.rootBody, planetCB.transform.name).scaledVersion);
menuPlanet.transform.parent = space.transform;

// Destroy stuff
@@ -145,7 +146,7 @@ void Start()
// That sounds funny
Rotato planetRotato = menuPlanet.AddComponent<Rotato>();
Rotato planetRefRotato = kerbin.GetComponent<Rotato>();
planetRotato.speed = (planetRefRotato.speed / 9284.50070356553f) * (Single)planetCB.orbitDriver.orbit.orbitalSpeed; // calc.exe for the win
planetRotato.speed = planetRefRotato.speed * ((Single)planetCB.rotationPeriod / kerbinRotationPeriod);

// Scale the body
menuPlanet.transform.localScale = kerbin.localScale;
@@ -154,92 +155,7 @@ void Start()

// And set it to layer 0
menuPlanet.layer = 0;

// Patch the material, because Mods like TextureReplacer run post spawn, and we'd overwrite their changes
menuPlanet.GetComponent<Renderer>().sharedMaterial = planetCB.scaledBody.GetComponent<Renderer>().sharedMaterial;

// Copy EVE 7.4 clouds / Rings
for (Int32 i = 0; i < planetCB.scaledBody.transform.childCount; i++)
{
// Just clone everything
Transform t = planetCB.scaledBody.transform.GetChild(i);
if (t.gameObject.GetComponent<AtmosphereFromGround>())
continue;
GameObject newT = Instantiate(t.gameObject) as GameObject;
newT.transform.parent = menuPlanet.transform;
newT.layer = 0;
newT.transform.localPosition = Vector3.zero;
newT.transform.localRotation = Quaternion.identity;
newT.transform.localScale = (Single)(1008 / planetCB.Radius) * Vector3.one;
}

// And now, create the moons
foreach (PSystemBody moon in planet.children)
{
// Grab the CeletialBody of the moon
CelestialBody moonCB = PSystemManager.Instance.localBodies.Find(b => b.GetTransform().name == moon.name);

// Create the Rotation-Transforms
GameObject menuMoonPivot = new GameObject(moon.name + " Pivot");
menuMoonPivot.gameObject.layer = 0;
menuMoonPivot.transform.position = menuPlanet.transform.position;

// Still funny...
Rotato munRotato = menuMoonPivot.AddComponent<Rotato>();
Rotato refRotato = mun.GetComponent<Rotato>();
munRotato.speed = (refRotato.speed / 542.494239600754f) * (Single)moonCB.GetOrbit().getOrbitalSpeedAtDistance(moonCB.GetOrbit().semiMajorAxis);

// Activate the textures
ScaledSpaceOnDemand odMoon = moon.scaledVersion.GetComponentInChildren<ScaledSpaceOnDemand>();
if (odMoon != null)
{
odMoon.Start();
odMoon.LoadTextures();
}

// Clone the scaledVersion and attach it to the pivot
GameObject menuMoon = Instantiate(moon.scaledVersion) as GameObject;
menuMoon.transform.parent = menuMoonPivot.transform;

// Move and scale the menuMoon correctly
menuMoon.transform.localPosition = new Vector3(-5000f * (Single)(moonCB.GetOrbit().semiMajorAxis / 12000000.0), 0f, 0f);
menuMoon.transform.localScale *= 7f;

// Destroy stuff
DestroyImmediate(menuMoon.GetComponent<ScaledSpaceFader>());
DestroyImmediate(menuMoon.GetComponent<SphereCollider>());
DestroyImmediate(menuMoon.GetComponentInChildren<AtmosphereFromGround>());
DestroyImmediate(menuMoon.GetComponent<MaterialSetDirection>());

// More Rotato
Rotato moonRotato = menuMoon.AddComponent<Rotato>();
moonRotato.speed = -0.005f / (Single)(moonCB.rotationPeriod / 400.0);

// Apply orbital stuff
menuMoon.transform.Rotate(0f, (Single)moonCB.orbitDriver.orbit.LAN, 0f);
menuMoon.transform.Rotate(0f, 0f, (Single)moonCB.orbitDriver.orbit.inclination);
menuMoon.transform.Rotate(0f, (Single)moonCB.orbitDriver.orbit.argumentOfPeriapsis, 0f);

// And set the layer to 0
menuMoon.layer = 0;

// Patch the material, because Mods like TextureReplacer run post spawn, and we'd overwrite their changes
menuMoon.GetComponent<Renderer>().sharedMaterial = moonCB.scaledBody.GetComponent<Renderer>().sharedMaterial;

// Copy EVE 7.4 clouds / Rings
for (Int32 i = 0; i < moonCB.scaledBody.transform.childCount; i++)
{
Transform t = moonCB.scaledBody.transform.GetChild(i);
if (t.gameObject.GetComponent<AtmosphereFromGround>())
continue;
GameObject newT = Instantiate(t.gameObject) as GameObject;
newT.transform.parent = menuMoon.transform;
newT.layer = 0;
newT.transform.localPosition = Vector3.zero;
newT.transform.localRotation = Quaternion.identity;
newT.transform.localScale = (Single)(1008 / moonCB.Radius) * Vector3.one;
}
}

Events.OnRuntimeUtilityUpdateMenu.Fire();
}
}
8 changes: 8 additions & 0 deletions src/Kopernicus/RuntimeUtility/RuntimeUtility.cs
Original file line number Diff line number Diff line change
@@ -305,7 +305,11 @@ void LateUpdate()
{
FieldInfo mode_f = typeof(OrbitTargeter).GetFields(BindingFlags.NonPublic | BindingFlags.Instance).FirstOrDefault(f => f.FieldType.IsEnum && f.FieldType.IsNested);
FieldInfo context_f = typeof(OrbitTargeter).GetFields(BindingFlags.NonPublic | BindingFlags.Instance).FirstOrDefault(f => f.FieldType == typeof(MapContextMenu));
#if !KSP131
FieldInfo cast_f = typeof(OrbitTargeter).GetFields(BindingFlags.NonPublic | BindingFlags.Instance).FirstOrDefault(f => f.FieldType == typeof(OrbitRendererBase.OrbitCastHit));
#else
FieldInfo cast_f = typeof(OrbitTargeter).GetFields(BindingFlags.NonPublic | BindingFlags.Instance).FirstOrDefault(f => f.FieldType == typeof(OrbitRenderer.OrbitCastHit));
#endif
fields = new FieldInfo[] { mode_f, context_f, cast_f };
}
if (FlightGlobals.ActiveVessel != null)
@@ -316,7 +320,11 @@ void LateUpdate()
Int32 mode = (Int32)fields[0].GetValue(targeter);
if (mode == 2)
{
#if !KSP131
OrbitRendererBase.OrbitCastHit cast = (OrbitRendererBase.OrbitCastHit)fields[2].GetValue(targeter);
#else
OrbitRenderer.OrbitCastHit cast = (OrbitRenderer.OrbitCastHit) fields[2].GetValue(targeter);
#endif
CelestialBody body = PSystemManager.Instance.localBodies.Find(b => b.name == cast.or?.discoveryInfo?.name?.Value);
if (body == null) return;
if (body.Has("barycenter") || !body.Get("selectable", true))
8 changes: 4 additions & 4 deletions src/Kopernicus/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Assembly-CSharp" version="1.4.2" targetFramework="net35" />
<package id="ModularFlightIntegrator" version="1.2.4.2" targetFramework="net35" />
<package id="UnityEngine" version="1.4.2" targetFramework="net35" />
<package id="UnityEngine.UI" version="1.4.2" targetFramework="net35" />
<package id="Assembly-CSharp" version="1.4.3" targetFramework="net35" />
<package id="ModularFlightIntegrator" version="1.2.5.0" targetFramework="net35" />
<package id="UnityEngine" version="1.4.3" targetFramework="net35" />
<package id="UnityEngine.UI" version="1.4.3" targetFramework="net35" />
</packages>

0 comments on commit fc0984c

Please sign in to comment.