mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Remove debug logging - CURA-4451
This commit is contained in:
parent
a5ec64bf7c
commit
8826f86b54
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue