Draft: small optimization in snapper - issue #5761 (#9239)

This commit is contained in:
Yorik van Havre
2023-04-25 10:16:47 +02:00
committed by GitHub
parent 8c382af744
commit bf944220a8

View File

@@ -1653,7 +1653,7 @@ class Snapper:
self.trackers[9].append(self.holdTracker)
self.activeview = v
if self.grid and (not self.forceGridOff):
if tool and self.grid and (not self.forceGridOff):
self.grid.set(tool)