diff --git a/flixel/addons/editors/tiled/TiledObject.hx b/flixel/addons/editors/tiled/TiledObject.hx index d0abac4b..c6e52962 100644 --- a/flixel/addons/editors/tiled/TiledObject.hx +++ b/flixel/addons/editors/tiled/TiledObject.hx @@ -27,6 +27,7 @@ class TiledObject public static inline var POLYGON = 2; public static inline var POLYLINE = 3; public static inline var TILE = 4; + public static inline var POINT = 5; public var x:Int; public var y:Int; @@ -148,6 +149,10 @@ class TiledObject objectType = POLYLINE; getPoints(source.node.polyline); } + else if (source.hasNode.point) + { + objectType = POINT; + } } function getPoints(node:Access):Void