Skip to content

Commit

Permalink
Remove some extraneous log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeSpork committed Dec 13, 2021
1 parent da2741c commit 1bceff2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions MoarCamz/MoarCamzPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,6 @@ private void Update()
public void NextCamera()
{
int originalValue = lastSelectedCamera;
Log.LogInfo($"Original Value {originalValue}");
bool found = false;
while (!found)
{
Expand All @@ -767,9 +766,7 @@ public void NextCamera()
originalValue = 0;
else if (originalValue == lastSelectedCamera)
break;
Log.LogInfo($"Found: {found} LC: {lastSelectedCamera}");
}
Log.LogInfo($"Using: {found} LC: {lastSelectedCamera}");
if (lastSelectedCamera < 10)
{
Studio.Studio.Instance.cameraCtrl.Import(Studio.Studio.Instance.sceneInfo.cameraData[lastSelectedCamera]);
Expand All @@ -782,7 +779,6 @@ public void NextCamera()
public void PrevCamera()
{
int originalValue = lastSelectedCamera;
Log.LogInfo($"Original Value {originalValue}");
bool found = false;
while (!found)
{
Expand All @@ -797,11 +793,9 @@ public void PrevCamera()
originalValue = MoarCamz.Count - 1;
else if (originalValue == lastSelectedCamera)
break;
Log.LogInfo($"Found: {found} LC: {lastSelectedCamera}");

}

Log.LogInfo($"Using: {found} LC: {lastSelectedCamera}");
if (lastSelectedCamera < 10)
{
Studio.Studio.Instance.cameraCtrl.Import(Studio.Studio.Instance.sceneInfo.cameraData[lastSelectedCamera]);
Expand Down

0 comments on commit 1bceff2

Please sign in to comment.