mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:58:58 +08:00
resolve conflicts
This commit is contained in:
commit
0377edaa0f
@ -167,6 +167,8 @@ class ProfilesModel(InstanceContainersModel):
|
||||
for item in containers:
|
||||
profile = container_registry.findContainers(id = item["id"])
|
||||
|
||||
Logger.log("d", "profile=%s, id=%s", profile, item["id"])
|
||||
|
||||
# when the profile is not supported
|
||||
if not profile:
|
||||
self._setItemLayerHeight(item, "", "")
|
||||
@ -184,6 +186,7 @@ class ProfilesModel(InstanceContainersModel):
|
||||
continue
|
||||
|
||||
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.
|
||||
if profile.hasProperty("layer_height", "value"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user