Browse Source

Polygon: Fix default prefab color

trethaller 6 years ago
parent
commit
930b7fdb3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/prefab/l3d/Polygon.hx

+ 1 - 1
hide/prefab/l3d/Polygon.hx

@@ -14,7 +14,7 @@ class Polygon extends Object3D {
 	public var shape(default, null) : Shape = Quad;
 	public var points : h2d.col.Polygon;
 	#if editor
-	public var debugColor : Int;
+	public var debugColor : Int = 0xFFFFFFFF;
 	public var editor : PolygonEditor;
 	#end