rendering fix, gc and cache clear buttons added to debug menu

This commit is contained in:
honfika@gmail.com
2015-03-18 23:16:59 +01:00
parent cdc22d8b2d
commit 7d05b54d70
8 changed files with 40 additions and 26 deletions

View File

@@ -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);
}