If reading from an ork container format, change the StorageOptions to reflect IncludeDecals = true.

This commit is contained in:
Kevin Ruland 2012-07-23 17:03:22 +00:00 committed by U-WINDOWS-C28163E\Administrator
parent 4757ce82f2
commit 3195b8d5df

View File

@ -123,6 +123,7 @@ public class GeneralRocketLoader {
if (entry.getName().matches(".*\\.[oO][rR][kK]$")) {
OpenRocketDocument doc = loadFromStream(in, motorFinder);
doc.getDefaultStorageOptions().setCompressionEnabled(true);
doc.getDefaultStorageOptions().setIncludeDecals(true);
doc.getDecalRegistry().setIsZipFile(true);
return doc;
} else if ( entry.getName().matches(".*\\.[rR][kK][tT]$")) {