mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06:00
Platfom physics now actually checks max_overlap_checks instead of max_overlap_checks +1
CURA-2156
This commit is contained in:
parent
5293f3abcb
commit
bb7f6f87c7
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class PlatformPhysics:
|
|||
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:
|
||||
while overlap and current_overlap_checks < self._max_overlap_checks:
|
||||
current_overlap_checks += 1
|
||||
head_hull = node.callDecoration("getConvexHullHead")
|
||||
if head_hull: # One at a time intersection.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue