mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-23 10:51:16 -07:00
T466: Revert the previous commit since it messed up the file rights.
This commit is contained in:
parent
64d7bb0c2a
commit
8987aa2048
390 changed files with 1 additions and 7 deletions
8
plugins/GCODEReader/GCODEReader.py
Executable file → Normal file
8
plugins/GCODEReader/GCODEReader.py
Executable file → Normal file
|
|
@ -76,7 +76,7 @@ class GCODEReader(MeshReader):
|
|||
else:
|
||||
backend = Application.getInstance().getBackend()
|
||||
backend._pauseSlicing = True
|
||||
backend.backendStateChange.emit(3)
|
||||
backend.backendStateChange.emit(1)
|
||||
Application.getInstance().getPrintInformation()._abbr_machine = "Pre-sliced"
|
||||
Application.getInstance().setHideSettings(True)
|
||||
|
||||
|
|
@ -116,9 +116,6 @@ class GCODEReader(MeshReader):
|
|||
backend.close()
|
||||
backend.backendStateChange.emit(1)
|
||||
|
||||
glist = getattr(Application.getInstance().getController().getScene(), "gcode_list")
|
||||
glist.clear()
|
||||
|
||||
file = open(file_name, "r")
|
||||
|
||||
layer_data = LayerDataBuilder.LayerDataBuilder()
|
||||
|
|
@ -162,7 +159,6 @@ class GCODEReader(MeshReader):
|
|||
# current_path.append([10, 10, 10])
|
||||
# while file.readable():
|
||||
for line in file:
|
||||
glist.append(line)
|
||||
if len(line) == 0:
|
||||
continue
|
||||
if line[0] == ";":
|
||||
|
|
@ -245,8 +241,6 @@ class GCODEReader(MeshReader):
|
|||
Preferences.getInstance().setValue("cura/jobname_prefix", True)
|
||||
|
||||
|
||||
|
||||
|
||||
view = Application.getInstance().getController().getActiveView()
|
||||
if view.getPluginId() == "LayerView":
|
||||
view.resetLayerData()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue