Draft: Draft_ToggleGrid should update the grid

Fixes #13530.
This commit is contained in:
Roy-043
2024-04-19 15:42:28 +02:00
parent b331a9f7a2
commit a043cfa376

View File

@@ -79,10 +79,10 @@ class ToggleGrid(gui_base.GuiCommandSimplest):
if cmdactive:
grid.show_during_command = False
elif cmdactive:
grid.on()
grid.set() # set() required: the grid must be updated to match the current WP
grid.show_during_command = True
else:
grid.on()
grid.set()
WorkingPlane.get_working_plane()
grid.show_always = True