Slice.Origin
is not being set
#64
Labels
🐞 Bug
A bug has been identified and need to be fixed.
🔺 Priority: High
The issue or pull request made needs to be resolved as soon as possible.
🆕 Status: New
This issue or pull request is new and has not been looked at yet.
Description
When any of the processors create a
Slice
object for aTextureRegion
the constructor of theSlice
class takes in theOrigin
as a parameter but the value is never set for the property.Steps to Reproduce
TextureAtlasProcessor
orSpriteSheetProcessor
to process the Aseprite fileExpected Behavior
The
Slice.Origin
value for anySlice
element in anyTextureRegion
to contain the data from the slice's pivot data in Aseprite.Actual Behavior
All
Slice.Origin
values are defaulted toVector2.Zero
Configuration
Not Applicable
Other Information
This is occurring because the
Slice.Origin
value is never set in the constructor.The text was updated successfully, but these errors were encountered: