Skip to content

Commit

Permalink
POC for rendering layers as soon as they are done
Browse files Browse the repository at this point in the history
  • Loading branch information
BobLd committed Aug 16, 2023
1 parent 2f1fbbc commit 9c3421c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/UglyToad.PdfPig/Graphics/BaseStreamProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,16 @@ protected void ProcessOperations(IReadOnlyList<IGraphicsStateOperation> operatio
{
foreach (var stateOperation in operations)
{
stateOperation.Run(this);
try
{
stateOperation.Run(this);
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine(ex.ToString());
//throw;
}

}
}

Expand Down

0 comments on commit 9c3421c

Please sign in to comment.