Skip to content

Commit

Permalink
Merge pull request #642 from MOARdV/master
Browse files Browse the repository at this point in the history
v0.29.1 release
  • Loading branch information
MOARdV authored Oct 9, 2017
2 parents 819b0dc + 1917bbd commit 1bb75a0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions GameData/JSI/RasterPropMonitor/RasterPropMonitor.version
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"VERSION": {
"MAJOR": 0,
"MINOR": 29,
"PATCH": 0
"PATCH": 1
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 3,
"PATCH": 0
"PATCH": 1
},
"KSP_VERSION_MIN":
{
Expand Down
2 changes: 1 addition & 1 deletion RasterPropMonitor.sln
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ Global
$36.inheritsSet = Mono
$36.inheritsScope = text/plain
$36.scope = text/plain
version = 0.29.0
version = 0.29.1
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion RasterPropMonitor/Core/RPMVesselComputer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ private void onVesselChange(Vessel who)
/// <param name="who"></param>
private void onVesselWasModified(Vessel who)
{
if (who.id == vessel.id)
if (who != null && who.id == vessel.id)
{
JUtil.LogMessage(this, "onVesselWasModified(): for me {0}", who.id);
if (JUtil.IsActiveVessel(vessel))
Expand Down
4 changes: 4 additions & 0 deletions RasterPropMonitor/Handlers/JSITargetMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public class JSITargetMenu : InternalModule
{ VesselType.Base,false },
{ VesselType.Debris,false },
{ VesselType.Unknown,false },
{ VesselType.Relay,false }
};

private enum MenuList
Expand Down Expand Up @@ -783,6 +784,8 @@ private static int VesselFilterToBitmask(Dictionary<VesselType, bool> filterList
mask |= 1 << 8;
if (filterList[VesselType.Unknown])
mask |= 1 << 9;
if (filterList[VesselType.Relay])
mask |= 1 << 10;
return mask;
}

Expand All @@ -798,6 +801,7 @@ private void VesselFilterFromBitmask(int mask)
vesselFilter[VesselType.Base] = (mask & (1 << 7)) > 0;
vesselFilter[VesselType.Debris] = (mask & (1 << 8)) > 0;
vesselFilter[VesselType.Unknown] = (mask & (1 << 9)) > 0;
vesselFilter[VesselType.Relay] = (mask & (1 << 10)) > 0;
}

// Returns true if the reference part is a claw and the part can be
Expand Down
2 changes: 1 addition & 1 deletion SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
// Revision number is altered automatically.
[assembly: AssemblyVersion("0.29.0.*")]
[assembly: AssemblyVersion("0.29.1.*")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down

0 comments on commit 1bb75a0

Please sign in to comment.