From d7b4296cfc9deb40a7a3a3d18a367928d4402fbd Mon Sep 17 00:00:00 2001 From: Victor Larchenko Date: Fri, 14 Oct 2016 16:17:46 +0600 Subject: [PATCH] T466: Added correct prefix --- plugins/GCODEReader/GCODEReader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GCODEReader/GCODEReader.py b/plugins/GCODEReader/GCODEReader.py index 8bbe7ad89e..5769959983 100644 --- a/plugins/GCODEReader/GCODEReader.py +++ b/plugins/GCODEReader/GCODEReader.py @@ -230,9 +230,9 @@ class GCODEReader(MeshReader): # scene_node.setMeshData(mesh_builder.build()) # scene_node.setMeshData(MeshData(file_name=file_name)) - # Application.getInstance().getPrintInformation().JobName(file_name) + Application.getInstance().getPrintInformation()._abbr_machine = "Pre-sliced" - Preferences.getInstance().setValue("cura/jobname_prefix", False) + Preferences.getInstance().setValue("cura/jobname_prefix", True) view = Application.getInstance().getController().getActiveView() if view.getPluginId() == "LayerView":