mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Use .container property rather than deprecated getContainer() function
Contributes to issue CURA-6600.
This commit is contained in:
parent
47e1dbe38d
commit
0b92c3f3df
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class IntentModel(ListModel):
|
||||||
# Get layer_height from the quality profile for the GlobalStack
|
# Get layer_height from the quality profile for the GlobalStack
|
||||||
if quality_group.node_for_global is None:
|
if quality_group.node_for_global is None:
|
||||||
return float(default_layer_height)
|
return float(default_layer_height)
|
||||||
container = quality_group.node_for_global.getContainer()
|
container = quality_group.node_for_global.container
|
||||||
|
|
||||||
layer_height = default_layer_height
|
layer_height = default_layer_height
|
||||||
if container and container.hasProperty("layer_height", "value"):
|
if container and container.hasProperty("layer_height", "value"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue