(46f58eedd) Set submarine preview image resolution back to 256x128. For some reason, higher resolutions seem to cause hangs for when loading the image. I suspected it was because of encoding the image as a Base64 string into the xml, but that doesn't seem to case: I tried saving the image as a separate file instead, and it still causes the same problem (see #19 in the private repo).

This commit is contained in:
Joonas Rikkonen
2019-04-06 17:50:27 +03:00
parent 8d8478432f
commit 7b3ccde624
4 changed files with 100 additions and 116 deletions
@@ -22,7 +22,7 @@ namespace Barotrauma
"CrewExperienceHigh"
};
private readonly Point defaultPreviewImageSize = new Point(512, 368);
private readonly Point defaultPreviewImageSize = new Point(256, 128);
private Camera cam;