Skip to content

Commit

Permalink
Update PXZClient.cs
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Ignacio Molteni <[email protected]>
  • Loading branch information
dalkia authored Sep 23, 2024
1 parent a000ebf commit e86403e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions DCL_PiXYZ/PXZClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ private async Task DoConversion(PXZConversionParams pxzParams, SceneConversionIn
{
var stopwatch = new Stopwatch();

try
{
//Check if they were converted
stopwatch.Restart();
FileWriter.WriteToConsole($"BEGIN CONVERTING {scene} WITH {pxzParams.DecimationValue}");
await ConvertScene(pxzParams, pathHandler, sceneConversionInfo);
Expand All @@ -112,10 +109,6 @@ private async Task DoConversion(PXZConversionParams pxzParams, SceneConversionIn

FileWriter.WriteToFile($"{scene}\t{pxzParams.DecimationValue}\t{elapsedTime}" , pathHandler.SuccessFile);
}
catch (Exception e)
{
FileWriter.WriteToFile($"{scene}\tCONVERSION ERROR {pxzParams.DecimationValue}: {e.Message}", pathHandler.FailFile);
}
}

private bool HasSceneBeenConverted(List<string> convertedScenes, string scene)
Expand Down

0 comments on commit e86403e

Please sign in to comment.