mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-28 01:23:16 +08:00
Fix the hacked "getResolveOrValue" to return value always instead of resolve
This commit is contained in:
parent
4da2de532b
commit
1c75a82779
@ -512,7 +512,7 @@ class ExtruderManager(QObject):
|
|||||||
def getResolveOrValue(key):
|
def getResolveOrValue(key):
|
||||||
global_stack = Application.getInstance().getGlobalContainerStack()
|
global_stack = Application.getInstance().getGlobalContainerStack()
|
||||||
|
|
||||||
resolved_value = global_stack.getProperty(key, "resolve")
|
resolved_value = global_stack.getProperty(key, "value")
|
||||||
#if resolved_value is not None:
|
#if resolved_value is not None:
|
||||||
#user_container = global_stack.findContainer({"type": "user"})
|
#user_container = global_stack.findContainer({"type": "user"})
|
||||||
#quality_changes_container = global_stack.findContainer({"type": "quality_changes"})
|
#quality_changes_container = global_stack.findContainer({"type": "quality_changes"})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user