mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 18:58:12 +00:00
Refreshing shape/frame cache after image replace
formatting
This commit is contained in:
@@ -278,7 +278,7 @@ public class ActionGraph extends Graph {
|
||||
});*/
|
||||
|
||||
//GraphPart breakPart = breakParts.isEmpty() ? null : breakParts.get(0);
|
||||
List<GraphPart> mcp=new ArrayList<>();
|
||||
List<GraphPart> mcp = new ArrayList<>();
|
||||
mcp.addAll(caseBodyParts);
|
||||
mcp.add(defaultPart2);
|
||||
GraphPart breakPart = getMostCommonPart(mcp, loops);
|
||||
@@ -329,12 +329,12 @@ public class ActionGraph extends Graph {
|
||||
stopPart2x.add(next);
|
||||
defaultCommands = printGraph(new ArrayList<GraphPart>(), localData, stack, allParts, null, defaultPart, stopPart2x, loops);
|
||||
}
|
||||
|
||||
if(!defaultCommands.isEmpty()){
|
||||
if(defaultCommands.get(defaultCommands.size()-1) instanceof BreakItem){
|
||||
BreakItem bi=(BreakItem)defaultCommands.get(defaultCommands.size()-1);
|
||||
if(bi.loopId==currentLoop.id){
|
||||
defaultCommands.remove(defaultCommands.size()-1);
|
||||
|
||||
if (!defaultCommands.isEmpty()) {
|
||||
if (defaultCommands.get(defaultCommands.size() - 1) instanceof BreakItem) {
|
||||
BreakItem bi = (BreakItem) defaultCommands.get(defaultCommands.size() - 1);
|
||||
if (bi.loopId == currentLoop.id) {
|
||||
defaultCommands.remove(defaultCommands.size() - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user