aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ActionTreeDisplayPane.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ActionTreeDisplayPane.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ActionTreeDisplayPane.java
index 7ea8cf51..dd8331a7 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ActionTreeDisplayPane.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/panes/ActionTreeDisplayPane.java
@@ -77,7 +77,7 @@ public class ActionTreeDisplayPane extends MPanel {
Point pt = drawmPoints.get(actionTree);
GlStateManager.pushMatrix();
- GlStateManager.pushAttrib();
+
GlStateManager.enableBlend();
GlStateManager.disableDepth();
GlStateManager.disableTexture2D();
@@ -94,14 +94,14 @@ public class ActionTreeDisplayPane extends MPanel {
GlStateManager.enableDepth();
GlStateManager.disableBlend();
GlStateManager.popMatrix();
- GlStateManager.popAttrib();
+
return 0;
}
Dimension dim = renderAction(actionTree.getCurrent(), x, y, fr);
if (drawLineFrom != null) {
GlStateManager.pushMatrix();
- GlStateManager.pushAttrib();
+
GlStateManager.enableBlend();
GlStateManager.disableDepth();
@@ -119,7 +119,7 @@ public class ActionTreeDisplayPane extends MPanel {
GlStateManager.enableDepth();
GlStateManager.disableBlend();
GlStateManager.popMatrix();
- GlStateManager.popAttrib();
+
}
Point pt = new Point(x + dim.width / 2, y + dim.height);
@@ -139,7 +139,7 @@ public class ActionTreeDisplayPane extends MPanel {
Dimension dim = renderAction(action, x, y2, fr);
if (lastPt != null) {
GlStateManager.pushMatrix();
- GlStateManager.pushAttrib();
+
GlStateManager.enableBlend();
GlStateManager.disableDepth();
@@ -157,7 +157,7 @@ public class ActionTreeDisplayPane extends MPanel {
GlStateManager.enableDepth();
GlStateManager.disableBlend();
GlStateManager.popMatrix();
- GlStateManager.popAttrib();
+
}
lastPt = new Point(x + dim.width / 2, y2 + dim.height);