Skip to content

Fixed jitter with fractional camera position - #455

Open
cruzgodar wants to merge 1 commit into
StrawberryJam2021:mainfrom
cruzgodar:motion-smoothing-masks
Open

Fixed jitter with fractional camera position#455
cruzgodar wants to merge 1 commit into
StrawberryJam2021:mainfrom
cruzgodar:motion-smoothing-masks

Conversation

@cruzgodar

Copy link
Copy Markdown
Contributor

This PR fixes jitter in styleground masks when the camera position is fractional. It replaces the Max call in GetDrawPos with the implicit intersection from GetVisibleRect, then adds the camera position to that casted value. I've tested this across multiple types of masks and it works perfectly to the best of my knowledge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant