Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2019-07-19 17:23:57 +0300
committerJaime van Kessel <nallath@gmail.com>2019-07-19 17:23:57 +0300
commit6bb9e6097a0a1c5c89cc4475dfd2d36c7e35e6e9 (patch)
treedc95895e1592429c97fa6b5b7689da37f9bce705 /cura/BuildVolume.py
parentd59e74c8678c088b74b5b9250d715ee021cf8380 (diff)
Rename "collideWithArea" to "collideWithAreas"
This better reflects what it does (eg; it is checking for multiple colissions, not just one)
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py
index bf38e6e562..e47659a7c1 100755
--- a/cura/BuildVolume.py
+++ b/cura/BuildVolume.py
@@ -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