summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.cpp
diff options
context:
space:
mode:
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())