summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-13 05:20:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-13 05:20:17 +0100
commit728d34aaaa4c993d4b1f2c0f508f3a33aa069cb0 (patch)
tree6a2cde51ddce3ba2d7a563c06b10b83f2361708e /editor/editor.cpp
parentff1c79d87ba99a2cd3fe97f7047b892445d69191 (diff)
dw
Diffstat (limited to 'editor/editor.cpp')
-rw-r--r--editor/editor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index 86a180b5..53776ebe 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -27,7 +27,6 @@ void editor::clear_selection()
auto editor::get_snap_value(snap_mode snap, int mods) const -> snap_mode
{
-
if (const auto* mode = current_ground_editor())
return mode->check_snap(mods);
else if (const auto* mode = current_wall_editor())