mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Removed commented out code. CURA-3497
This commit is contained in:
parent
c91bc015e4
commit
163929196d
1 changed files with 0 additions and 12 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue