Skip to content

Commit

Permalink
Remove debug spam, 3.3 FINAL
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell committed Nov 22, 2014
1 parent 987330c commit c12b099
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Binary file modified ModuleRCSFX/Plugins/ModuleRCSFX.dll
Binary file not shown.
3 changes: 3 additions & 0 deletions ModuleRCSFX/Readme_MRCSFX.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ LICENSE remains the ialdabaoth license (CC-BY-SA + tweaks).
SOURCE is https://github.com/NathanKell/ModuleRCSFX

CHANGELOG
v3.3
*Remove debug spam

v3.2
*Fix more stock RCS bugs (no longer capped at min 100N thrust).

Expand Down
4 changes: 2 additions & 2 deletions Source/ModuleRCSFX.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ModuleRCSFX : ModuleRCS
[KSPField]
public bool correctThrust = true;

[KSPField(guiActive = true)]
//[KSPField(guiActive = true)]
public float curThrust = 0f;

public float maxIsp;
Expand Down Expand Up @@ -172,7 +172,7 @@ public override void OnStart(StartState state)
Vector3 force = (-1 * thrust) * thruster;

part.Rigidbody.AddForceAtPosition(force, position, ForceMode.Force);
Debug.Log("Part " + part.name + " adding force " + force.x + "," + force.y + "," + force.z + " at " + position);
//Debug.Log("Part " + part.name + " adding force " + force.x + "," + force.y + "," + force.z + " at " + position);
}

thrusterFX[i].Power = Mathf.Clamp(thrust / thrusterPower, 0.1f, 1f);
Expand Down
2 changes: 1 addition & 1 deletion Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.3.*")]
[assembly: AssemblyFileVersion("0.3.2.0")]
[assembly: AssemblyFileVersion("0.3.3.0")]

0 comments on commit c12b099

Please sign in to comment.