diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-13 00:35:28 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-13 00:35:28 +0200 |
| commit | e1d3607fb443109f1ae49a4765b9e2c5a7998a1b (patch) | |
| tree | 2316f12a22d3bab259023597045e3cc650404f15 /editor/camera.cpp | |
| parent | d748a3c14e4f5346bc8aff6882c1d082cf3fbd22 (diff) | |
wip z level
Diffstat (limited to 'editor/camera.cpp')
| -rw-r--r-- | editor/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/camera.cpp b/editor/camera.cpp index f018ad8c..94f36892 100644 --- a/editor/camera.cpp +++ b/editor/camera.cpp @@ -63,7 +63,7 @@ void app::update_cursor_tile(const Optional<Vector2i>& pixel) if (pixel) { auto coord = M->pixel_to_tile(Vector2d{*pixel}); - cursor.tile = {InPlaceInit, coord.chunk(), coord.local(), _z_level}; + cursor.tile = global_coords{coord.chunk(), coord.local(), _z_level}; } else cursor.tile = NullOpt; |
