mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:15:52 +08:00
Remove debug logging - CURA-4451
This commit is contained in:
parent
a5ec64bf7c
commit
8826f86b54
@ -6,7 +6,6 @@ from collections import OrderedDict
|
|||||||
from PyQt5.QtCore import Qt
|
from PyQt5.QtCore import Qt
|
||||||
|
|
||||||
from UM.Application import Application
|
from UM.Application import Application
|
||||||
from UM.Logger import Logger
|
|
||||||
from UM.Settings.ContainerRegistry import ContainerRegistry
|
from UM.Settings.ContainerRegistry import ContainerRegistry
|
||||||
from UM.Settings.Models.InstanceContainersModel import InstanceContainersModel
|
from UM.Settings.Models.InstanceContainersModel import InstanceContainersModel
|
||||||
|
|
||||||
@ -167,8 +166,6 @@ class ProfilesModel(InstanceContainersModel):
|
|||||||
for item in containers:
|
for item in containers:
|
||||||
profile = container_registry.findContainers(id = item["id"])
|
profile = container_registry.findContainers(id = item["id"])
|
||||||
|
|
||||||
Logger.log("d", "profile=%s, id=%s", profile, item["id"])
|
|
||||||
|
|
||||||
# when the profile is not supported
|
# when the profile is not supported
|
||||||
if not profile:
|
if not profile:
|
||||||
self._setItemLayerHeight(item, "", "")
|
self._setItemLayerHeight(item, "", "")
|
||||||
@ -186,7 +183,6 @@ class ProfilesModel(InstanceContainersModel):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
item["available"] = profile in qualities
|
item["available"] = profile in qualities
|
||||||
Logger.log("d", "---- profile available = [%s] , qualities = [%s]", item["available"], [q.getId() for q in qualities])
|
|
||||||
|
|
||||||
# Easy case: This profile defines its own layer height.
|
# Easy case: This profile defines its own layer height.
|
||||||
if profile.hasProperty("layer_height", "value"):
|
if profile.hasProperty("layer_height", "value"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user