mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-19 19:31:59 +00:00
Fixed #2138 Nested clipping (masks) display
This commit is contained in:
@@ -1095,8 +1095,11 @@ public class Timeline {
|
||||
}
|
||||
|
||||
if (clipChanged) {
|
||||
if (clips.size() > 0) {
|
||||
if (clips.size() > 0) {
|
||||
Area clip = null;
|
||||
if (prevClip != null) {
|
||||
clip = new Area(prevClip);
|
||||
}
|
||||
for (Clip clip1 : clips) {
|
||||
Shape shape = clip1.shape;
|
||||
if (clip == null) {
|
||||
@@ -1114,7 +1117,7 @@ public class Timeline {
|
||||
//g.setStroke(new BasicStroke(2));
|
||||
//g.draw(clip);
|
||||
} else {
|
||||
g.setClip(null);
|
||||
g.setClip(prevClip);
|
||||
}
|
||||
|
||||
clipCount = clips.size();
|
||||
|
||||
@@ -235,7 +235,7 @@ public class XFLConverter {
|
||||
private final Random random = new Random(123); // predictable random
|
||||
|
||||
/**
|
||||
* Adds "(depht xxx)" to layer name
|
||||
* Adds "(depth xxx)" to layer name
|
||||
*/
|
||||
private final boolean DEBUG_EXPORT_LAYER_DEPTHS = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user