You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like libtiled now parses all common layer attributes in a single function (getLayerAttributes), which reads Opacity, Visible, OffsetX and OffsetY.
This may also be why Width and Height are now optional in ImageLayer, since these were legacy attributes in the old Tiled Java application that are no longer used.
Someday we may as well move the parsing of those attributes into something like an ILayer method, which would then be inherited by Layer, ObjectLayer and ImageLayer.
The text was updated successfully, but these errors were encountered:
It looks like libtiled now parses all common layer attributes in a single function (
getLayerAttributes
), which readsOpacity
,Visible
,OffsetX
andOffsetY
.This may also be why
Width
andHeight
are now optional inImageLayer
, since these were legacy attributes in the old Tiled Java application that are no longer used.Someday we may as well move the parsing of those attributes into something like an
ILayer
method, which would then be inherited byLayer
,ObjectLayer
andImageLayer
.The text was updated successfully, but these errors were encountered: