From e1d3607fb443109f1ae49a4765b9e2c5a7998a1b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 13 Apr 2023 00:35:28 +0200 Subject: wip z level --- editor/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/camera.cpp') 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& 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; -- cgit v1.2.3