mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Merge branch '4.6' of github.com:Ultimaker/Cura
This commit is contained in:
commit
e21262f0b3
3 changed files with 4 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ class PlatformPhysics:
|
||||||
|
|
||||||
if tool.getPluginId() == "TranslateTool":
|
if tool.getPluginId() == "TranslateTool":
|
||||||
for node in Selection.getAllSelectedObjects():
|
for node in Selection.getAllSelectedObjects():
|
||||||
if node.getBoundingBox().bottom < 0:
|
if node.getBoundingBox() and node.getBoundingBox().bottom < 0:
|
||||||
if not node.getDecorator(ZOffsetDecorator.ZOffsetDecorator):
|
if not node.getDecorator(ZOffsetDecorator.ZOffsetDecorator):
|
||||||
node.addDecorator(ZOffsetDecorator.ZOffsetDecorator())
|
node.addDecorator(ZOffsetDecorator.ZOffsetDecorator())
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -248,6 +248,8 @@ class ExtruderManager(QObject):
|
||||||
extruder_nr = int(global_stack.getProperty(extruder_nr_feature_name, "value"))
|
extruder_nr = int(global_stack.getProperty(extruder_nr_feature_name, "value"))
|
||||||
if extruder_nr == -1:
|
if extruder_nr == -1:
|
||||||
continue
|
continue
|
||||||
|
if str(extruder_nr) not in self.extruderIds:
|
||||||
|
extruder_nr = int(self._application.getMachineManager().defaultExtruderPosition)
|
||||||
used_extruder_stack_ids.add(self.extruderIds[str(extruder_nr)])
|
used_extruder_stack_ids.add(self.extruderIds[str(extruder_nr)])
|
||||||
|
|
||||||
# Check support extruders
|
# Check support extruders
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ if with_sentry_sdk:
|
||||||
|
|
||||||
if ApplicationMetadata.CuraVersion == "master":
|
if ApplicationMetadata.CuraVersion == "master":
|
||||||
sentry_env = "development" # Master is always a development version.
|
sentry_env = "development" # Master is always a development version.
|
||||||
elif ApplicationMetadata.CuraVersion in ["beta", "BETA"]:
|
elif "beta" in ApplicationMetadata.CuraVersion or "BETA" in ApplicationMetadata.CuraVersion:
|
||||||
sentry_env = "beta"
|
sentry_env = "beta"
|
||||||
try:
|
try:
|
||||||
if ApplicationMetadata.CuraVersion.split(".")[2] == "99":
|
if ApplicationMetadata.CuraVersion.split(".")[2] == "99":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue