mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Added SettingOverrideDecorator stub
CURA-1278
This commit is contained in:
parent
a5f8546d69
commit
0e792e7a22
1 changed files with 13 additions and 0 deletions
13
cura/SettingOverrideDecorator.py
Normal file
13
cura/SettingOverrideDecorator.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2016 Ultimaker B.V.
|
||||
# Cura is released under the terms of the AGPLv3 or higher.
|
||||
from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
|
||||
|
||||
|
||||
## A decorator that adds a container stack to a Node. This stack should be queried for all settings regarding
|
||||
# the linked node. The Stack in question will refer to the global stack (so that settings that are not defined by
|
||||
# this stack still resolve.
|
||||
class SettingOverrideDecorator(SceneNodeDecorator):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue