Closed kwvanderlinde closed 1 month ago
Fixes #4956
The Set Facing tool now handles the case where a token has no facing at the end of the operation (see changes in FacingTool.mousePressed()).
FacingTool.mousePressed()
The rest of the changes are easy cleanup related to facing, but don't affect functionality:
Token.hasFacing()
Token.getFacing() == null
Token.getFacingInDegrees()
Token.removeFacing()
Token.setFacing(null)
Token.getFacing()
Token
None
N/A
This change is
Identify the Bug or Feature request
Fixes #4956
Description of the Change
The Set Facing tool now handles the case where a token has no facing at the end of the operation (see changes in
FacingTool.mousePressed()
).The rest of the changes are easy cleanup related to facing, but don't affect functionality:
Token.hasFacing()
instead ofToken.getFacing() == null
Token.getFacingInDegrees()
where it helps.Token.removeFacing()
to clear facing rather than usingToken.setFacing(null)
.Token.getFacing()
Token
's API.Possible Drawbacks
None
Documentation Notes
N/A
Release Notes
This change is