Skip to content

Adjusting the grid snap tile placement for the stamp brush #3886

Answered by kadattack
kadattack asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I found out how to do it.

I changed the functions
void StampBrush::tilePositionChanged(QPoint pos)

and
void StampBrush::updatePreview()

so they only work when QPoint coordiantes are even numbers.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kadattack
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants