瀏覽代碼

fix holes + lines

ncannasse 11 年之前
父節點
當前提交
89242a63ca
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      h2d/Graphics.hx

+ 1 - 0
h2d/Graphics.hx

@@ -291,6 +291,7 @@ class Graphics extends Drawable {
 			prev.push(pts);
 			pts = [];
 		}
+		flushLine();
 	}
 
 	public inline function addPoint( x : Float, y : Float ) {