mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:09:01 +08:00
Removed commented out code. CURA-3497
This commit is contained in:
parent
c91bc015e4
commit
163929196d
@ -512,18 +512,6 @@ class ExtruderManager(QObject):
|
||||
@staticmethod
|
||||
def getResolveOrValue(key):
|
||||
global_stack = Application.getInstance().getGlobalContainerStack()
|
||||
|
||||
resolved_value = global_stack.getProperty(key, "value")
|
||||
#if resolved_value is not None:
|
||||
#user_container = global_stack.findContainer({"type": "user"})
|
||||
#quality_changes_container = global_stack.findContainer({"type": "quality_changes"})
|
||||
#if user_container.hasProperty(key, "value") or quality_changes_container.hasProperty(key, "value"):
|
||||
## Normal case
|
||||
#value = global_stack.getProperty(key, "value")
|
||||
#else:
|
||||
## We have a resolved value and we're using it because of no user and quality_changes value
|
||||
#value = resolved_value
|
||||
#else:
|
||||
#value = global_stack.getRawProperty(key, "value")
|
||||
|
||||
return resolved_value
|
||||
|
Loading…
x
Reference in New Issue
Block a user