defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Tilemap editor issue on macOS #2604

Open jwoertink opened 5 years ago

jwoertink commented 5 years ago

Expected behaviour

Placing a tile where I click

Actual behaviour

Tile is placed about 70+ blocks above where I click

Steps to reproduce

I have no clue, but it's done this to me twice now. Restarting seems to fix it.

https://www.dropbox.com/s/xfdaq4umt5jy52g/macos_tilemap_issue.mov?dl=0


Build time2019-05-07T09:50:29.752811
Defold channeleditor-alpha
Defold editor sha14212f327845c31295f296a33a1de5278836a85a
Defold engine sha11b1e7662dd68172fca551c52cba248eea16a364
Defold version1.2.152
GPUAMD Radeon Pro 460 OpenGL Engine
GPU Driver2.1 ATI-2.8.38
Java version11.0.1+13
OS archx86_64
OS nameMac OS X
OS version10.14.4
matgis-king commented 5 years ago

NOTE: The issue seems to occur when the camera is rotated. You can see from the movie that the camera is very slightly rotated since the rulers are hidden. Even a very slight rotation appears to throw the picking algorithm off.

The camera can be reset by selecting Realign Camera from the View menu, but it is quite easy to get into this state by mistake.

jwoertink commented 5 years ago

Ah. Good call. If I see that happen again, I'll give that a shot.