mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Rename "collideWithArea" to "collideWithAreas"
This better reflects what it does (eg; it is checking for multiple colissions, not just one)
This commit is contained in:
parent
d59e74c867
commit
6bb9e6097a
2 changed files with 3 additions and 3 deletions
|
|
@ -258,7 +258,7 @@ class BuildVolume(SceneNode):
|
|||
node.setOutsideBuildArea(True)
|
||||
continue
|
||||
|
||||
if node.collidesWithArea(self.getDisallowedAreas()):
|
||||
if node.collidesWithAreas(self.getDisallowedAreas()):
|
||||
node.setOutsideBuildArea(True)
|
||||
continue
|
||||
# If the entire node is below the build plate, still mark it as outside.
|
||||
|
|
@ -312,7 +312,7 @@ class BuildVolume(SceneNode):
|
|||
node.setOutsideBuildArea(True)
|
||||
return
|
||||
|
||||
if node.collidesWithArea(self.getDisallowedAreas()):
|
||||
if node.collidesWithAreas(self.getDisallowedAreas()):
|
||||
node.setOutsideBuildArea(True)
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue