mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 20:23:12 +08:00
Use .container property rather than deprecated getContainer() function
Contributes to issue CURA-6600.
This commit is contained in:
parent
47e1dbe38d
commit
0b92c3f3df
@ -119,7 +119,7 @@ class IntentModel(ListModel):
|
||||
# Get layer_height from the quality profile for the GlobalStack
|
||||
if quality_group.node_for_global is None:
|
||||
return float(default_layer_height)
|
||||
container = quality_group.node_for_global.getContainer()
|
||||
container = quality_group.node_for_global.container
|
||||
|
||||
layer_height = default_layer_height
|
||||
if container and container.hasProperty("layer_height", "value"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user