mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 22:35:54 +08:00
Merge branch 'master' of https://github.com/Ultimaker/Cura
This commit is contained in:
commit
2e7dbea559
@ -367,8 +367,6 @@ class BuildVolume(SceneNode):
|
|||||||
|
|
||||||
areas.append(poly)
|
areas.append(poly)
|
||||||
|
|
||||||
if self._prime_tower_area:
|
|
||||||
self._prime_tower_area = self._prime_tower_area.getMinkowskiHull(Polygon(approximatedCircleVertices(bed_adhesion_size)))
|
|
||||||
|
|
||||||
# Add the skirt areas around the borders of the build plate.
|
# Add the skirt areas around the borders of the build plate.
|
||||||
if bed_adhesion_size > 0:
|
if bed_adhesion_size > 0:
|
||||||
@ -409,6 +407,8 @@ class BuildVolume(SceneNode):
|
|||||||
collision = False
|
collision = False
|
||||||
if self._prime_tower_area:
|
if self._prime_tower_area:
|
||||||
for area in areas:
|
for area in areas:
|
||||||
|
# Using Minkowski of 0 fixes the prime tower area so it's rendered correctly
|
||||||
|
self._prime_tower_area = self._prime_tower_area.getMinkowskiHull(Polygon(approximatedCircleVertices(0)))
|
||||||
if self._prime_tower_area.intersectsPolygon(area) is not None:
|
if self._prime_tower_area.intersectsPolygon(area) is not None:
|
||||||
collision = True
|
collision = True
|
||||||
break
|
break
|
||||||
|
@ -130,5 +130,6 @@ class LegacyProfileReader(ProfileReader):
|
|||||||
if len(profile.getAllKeys()) == 0:
|
if len(profile.getAllKeys()) == 0:
|
||||||
Logger.log("i", "A legacy profile was imported but everything evaluates to the defaults, creating an empty profile.")
|
Logger.log("i", "A legacy profile was imported but everything evaluates to the defaults, creating an empty profile.")
|
||||||
profile.setDirty(True)
|
profile.setDirty(True)
|
||||||
profile.addMetaDataEntry("type", "quality")
|
profile.addMetaDataEntry("type", "quality_changes")
|
||||||
|
profile.addMetaDataEntry("quality", "normal")
|
||||||
return profile
|
return profile
|
Loading…
x
Reference in New Issue
Block a user