Skip to content

Commit

Permalink
Merge pull request #148 from ZiwKerman/develop
Browse files Browse the repository at this point in the history
1.3 minor fix
  • Loading branch information
ZiwKerman committed May 30, 2017
2 parents 0c1e7f1 + 1946c91 commit ebc7aba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion InfernalRobotics/InfernalRobotics/Gui/EditorCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private void IRCustomFilter()

//Adding our own subcategory to main filter
PartCategorizer.Category filter = PartCategorizer.Instance.filters.Find(f => f.button.categoryName == FILTER_CATEGORY);
PartCategorizer.AddCustomSubcategoryFilter(filter, CUSTOM_CATEGORY_NAME, icon, p => availableParts.Contains(p));
PartCategorizer.AddCustomSubcategoryFilter(filter, CUSTOM_CATEGORY_NAME, CUSTOM_CATEGORY_NAME, icon, p => availableParts.Contains(p));

//KSP.UI.UIRadioButton button = filter.button.activeButton;

Expand Down
4 changes: 2 additions & 2 deletions InfernalRobotics/InfernalRobotics/Module/ModuleIRServo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ public void OnVesselGoOnRails (Vessel v)
joint.angularZMotion = ConfigurableJointMotion.Locked;
}

rotationDelta = GetRealRotation();
translationDelta = GetRealTranslation();
rotationDelta = rotation;
translationDelta = translation;

isOnRails = true;
}
Expand Down

0 comments on commit ebc7aba

Please sign in to comment.