mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-31 11:31:59 +08:00
No longer set move_vector when we don't have to
This commit is contained in:
parent
1999e587b6
commit
e010c90c43
@ -107,7 +107,6 @@ class PlatformPhysics:
|
||||
continue # Other node is already moving, wait for next pass.
|
||||
|
||||
overlap = (0, 0) # Start loop with no overlap
|
||||
move_vector = move_vector.set(x=overlap[0] * self._move_factor, z=overlap[1] * self._move_factor)
|
||||
current_overlap_checks = 0
|
||||
# Continue to check the overlap until we no longer find one.
|
||||
while overlap and current_overlap_checks < self._max_overlap_checks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user