mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-08 04:41:51 +09:00
about issue #17
This commit is contained in:
@@ -21,7 +21,7 @@ public class ImageDataFactory {
|
||||
/** True if we're going to use the native PNG loader - cached so it doesn't have
|
||||
* the security check repeatedly
|
||||
*/
|
||||
private static boolean usePngLoader = true;
|
||||
private static final boolean usePngLoader = false;
|
||||
/** True if the PNG loader property has been checked */
|
||||
private static boolean pngLoaderPropertyChecked = false;
|
||||
|
||||
@@ -41,7 +41,7 @@ public class ImageDataFactory {
|
||||
public Object run() {
|
||||
String val = System.getProperty(PNG_LOADER);
|
||||
if ("false".equalsIgnoreCase(val)) {
|
||||
usePngLoader = false;
|
||||
//usePngLoader = false;
|
||||
}
|
||||
|
||||
Log.info("Use Java PNG Loader = " + usePngLoader);
|
||||
|
||||
Reference in New Issue
Block a user