-
-
Save mjn33/477e43d6024de014737f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/FerramAerospaceResearch/LEGACYferram4/FARBaseAerodynamics.cs b/FerramAerospaceResearch/LEGACYferram4/FARBaseAerodynamics.cs | |
index 2875659..869b3d1 100644 | |
--- a/FerramAerospaceResearch/LEGACYferram4/FARBaseAerodynamics.cs | |
+++ b/FerramAerospaceResearch/LEGACYferram4/FARBaseAerodynamics.cs | |
@@ -69,14 +69,14 @@ namespace ferram4 | |
//Reset tinting for this part and its children | |
// private bool resetTinting; | |
- [KSPField(isPersistant = false, guiActive = false)] | |
+ [KSPField(isPersistant = false, guiActive = true)] | |
public double S; | |
//[KSPField(isPersistant = false, guiActive = false, guiName = "S")] | |
//public float displayS; | |
- [KSPField(isPersistant = false, guiActive = false, guiActiveEditor = true)] | |
+ [KSPField(isPersistant = false, guiActive = true, guiActiveEditor = true)] | |
public bool isShielded = true; | |
public double rho; | |
diff --git a/FerramAerospaceResearch/LEGACYferram4/FARWingAerodynamicModel.cs b/FerramAerospaceResearch/LEGACYferram4/FARWingAerodynamicModel.cs | |
index ad2c11f..5a10df7 100644 | |
--- a/FerramAerospaceResearch/LEGACYferram4/FARWingAerodynamicModel.cs | |
+++ b/FerramAerospaceResearch/LEGACYferram4/FARWingAerodynamicModel.cs | |
@@ -156,7 +156,11 @@ namespace ferram4 | |
public Vector3 worldSpaceForce; | |
+ [KSPField(isPersistant = false, guiActive = true, guiName = "rawAEF")] | |
+ protected double NUFAR_rawAreaExposedFactor = 0; | |
+ [KSPField(isPersistant = false, guiActive = true, guiName = "AEF")] | |
protected double NUFAR_areaExposedFactor = 0; | |
+ [KSPField(isPersistant = false, guiActive = true, guiName = "totalEAF")] | |
protected double NUFAR_totalExposedAreaFactor = 0; | |
public void NUFAR_ClearExposedAreaFactor() | |
@@ -171,6 +175,7 @@ namespace ferram4 | |
NUFAR_areaExposedFactor = Math.Min(a.ProjectedAreas.kN, a.ProjectedAreas.kP); | |
NUFAR_totalExposedAreaFactor = Math.Max(a.ProjectedAreas.kN, a.ProjectedAreas.kP); | |
+ NUFAR_rawAreaExposedFactor = NUFAR_areaExposedFactor; | |
} | |
@@ -1386,4 +1391,4 @@ namespace ferram4 | |
} | |
} | |
-} | |
\ No newline at end of file | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment