Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When moving the cursor quickly, 'Use automapping, when drawing into layers' does not work #958

Closed
ghost opened this issue May 21, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@ghost
Copy link

commented May 21, 2015

When Preferences -> Automapping -> Use Automapping, when drawing into layers is checked, if one moves one's cursor quickly, the tile is not automapped. This could cause some problems, e.g. hiding one's collision layer in tiled and then falling through the floor in-game. This is especially problematic when utilising peripherals such as a graphics tablet.

A demonstration is as follows, where the brown tile marks are where I drew, and the black/pink tiles are for collision detection (and are placed where brown tiles are):

Note that I used the fill tool beneath the line which I drew, automapper appeared to work for this. The second image shows the result of manually selecting automapper.

@bjorn

This comment has been minimized.

Copy link
Owner

commented May 22, 2015

Hmm, this seems to be because the regionEdited signal to which the automapping feature responds is emitted repeatedly with the same region, which happens because it's emitting the region of the brush preview, which does not get updated for each position when the mouse moves fast. I'll have to make sure the emitted region is correct somehow.

@bjorn bjorn added the bug label May 22, 2015

@bjorn

This comment has been minimized.

Copy link
Owner

commented May 30, 2015

This fix will be included in Tiled 0.12.3, which I plan to release in the next days.

@bjorn bjorn closed this in c7b9519 May 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.