Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c4952aa61258
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3de0c8fc0bf3
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Aug 14, 2021

  1. Copy the full SHA
    c7d6abe View commit details
  2. Merge pull request #3095 from eggrobin/flares

    Remove the sun lens flare toggle
    eggrobin authored Aug 14, 2021
    Copy the full SHA
    3de0c8f View commit details
Showing with 0 additions and 5 deletions.
  1. +0 −1 ksp_plugin_adapter/localization/en-us.cfg
  2. +0 −1 ksp_plugin_adapter/localization/zh-cn.cfg
  3. +0 −3 ksp_plugin_adapter/main_window.cs
1 change: 0 additions & 1 deletion ksp_plugin_adapter/localization/en-us.cfg
Original file line number Diff line number Diff line change
@@ -16,7 +16,6 @@ Localization {
#Principia_MainWindow_KspFeatures = KSP Features
#Principia_MainWindow_LoggingSettings = Logging Settings
#Principia_MainWindow_KspFeature_DisplayPatchedConics = Display patched conics (do not use for flight planning!)
#Principia_MainWindow_KspFeature_SunFlare = Enable Sun lens flare
#Principia_MainWindow_TargetCelestial_Select = Select target celestial...
#Principia_MainWindow_TargetCelestial_Name = Target: <<1>> // <<1>> celestial name
#Principia_MainWindow_TargetCelestial_Clear = Clear
1 change: 0 additions & 1 deletion ksp_plugin_adapter/localization/zh-cn.cfg
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ Localization {
#Principia_MainWindow_KspFeatures = KSP本体功能
#Principia_MainWindow_LoggingSettings = 日志选项
#Principia_MainWindow_KspFeature_DisplayPatchedConics = 启用原版轨道显示(不可用于轨道规划!)
#Principia_MainWindow_KspFeature_SunFlare = 太阳耀斑选项
#Principia_MainWindow_TargetCelestial_Select = 选择目标天体...
#Principia_MainWindow_TargetCelestial_Name = 当前目标:<<1>>
#Principia_MainWindow_TargetCelestial_Clear = 清除
3 changes: 0 additions & 3 deletions ksp_plugin_adapter/main_window.cs
Original file line number Diff line number Diff line change
@@ -245,9 +245,6 @@ private void RenderKSPFeatures() {
value : display_patched_conics,
text : Localizer.Format(
"#Principia_MainWindow_KspFeature_DisplayPatchedConics"));
Sun.Instance.sunFlare.enabled = UnityEngine.GUILayout.Toggle(
value : Sun.Instance.sunFlare.enabled,
text : Localizer.Format("#Principia_MainWindow_KspFeature_SunFlare"));
if (MapView.MapIsEnabled &&
FlightGlobals.ActiveVessel?.orbitTargeter != null) {
using (new UnityEngine.GUILayout.HorizontalScope()) {