mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 19:15:19 +00:00
rendering fix, gc and cache clear buttons added to debug menu
This commit is contained in:
@@ -2561,7 +2561,7 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
SerializableImage img = null;
|
||||
String cacheKey = null;
|
||||
if (drawable instanceof ShapeTag) {
|
||||
cacheKey = m.toString() + clrTrans.toString();
|
||||
cacheKey = ((ShapeTag) drawable).getCharacterId() + m.toString() + clrTrans.toString();
|
||||
img = renderContext.shapeCache.get(cacheKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -146,6 +146,10 @@ public class Configuration {
|
||||
@ConfigurationCategory("debug")
|
||||
public static final ConfigurationItem<Boolean> debugMode = null;
|
||||
|
||||
@ConfigurationDefaultBoolean(false)
|
||||
@ConfigurationCategory("debug")
|
||||
public static final ConfigurationItem<Boolean> showDebugMenu = null;
|
||||
|
||||
/**
|
||||
* Turn off resolving constants in ActionScript 2
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user