If reading from an ork container format, change the StorageOptions to reflect IncludeDecals = true.
This commit is contained in:
parent
4757ce82f2
commit
3195b8d5df
@ -123,6 +123,7 @@ public class GeneralRocketLoader {
|
|||||||
if (entry.getName().matches(".*\\.[oO][rR][kK]$")) {
|
if (entry.getName().matches(".*\\.[oO][rR][kK]$")) {
|
||||||
OpenRocketDocument doc = loadFromStream(in, motorFinder);
|
OpenRocketDocument doc = loadFromStream(in, motorFinder);
|
||||||
doc.getDefaultStorageOptions().setCompressionEnabled(true);
|
doc.getDefaultStorageOptions().setCompressionEnabled(true);
|
||||||
|
doc.getDefaultStorageOptions().setIncludeDecals(true);
|
||||||
doc.getDecalRegistry().setIsZipFile(true);
|
doc.getDecalRegistry().setIsZipFile(true);
|
||||||
return doc;
|
return doc;
|
||||||
} else if ( entry.getName().matches(".*\\.[rR][kK][tT]$")) {
|
} else if ( entry.getName().matches(".*\\.[rR][kK][tT]$")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user