Skip to content

Commit

Permalink
Keep debug line but gate it behind a JVM property
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Aug 26, 2023
1 parent 957fe05 commit d21aea0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ private void tryStitchAndDropTexture(Stitcher stitcher) {
while(true) {
stitchSuccess = false;
try {
if(!haveTriedFallbackPass && Boolean.getBoolean("vintagefix.testFallbackPass"))
throw new StitcherException(null, "forced fallback");
stitcher.doStitch();
stitchSuccess = true;
} catch(StitcherException ignored) {}
Expand Down

0 comments on commit d21aea0

Please sign in to comment.