mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
D6: Fixed gcode loading to scene while undo/redo
This commit is contained in:
parent
fecf23d66d
commit
90f7cebbbb
4 changed files with 24 additions and 4 deletions
13
cura/GCodeListDecorator.py
Normal file
13
cura/GCodeListDecorator.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
|
||||
|
||||
|
||||
class GCodeListDecorator(SceneNodeDecorator):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._gcode_list = []
|
||||
|
||||
def gCodeList(self):
|
||||
return self._gcode_list
|
||||
|
||||
def setGCodeList(self, list):
|
||||
self._gcode_list = list
|
Loading…
Add table
Add a link
Reference in a new issue