Просмотр исходного кода

Remove unused variable

The variable name is re-used lower in the code. This value is unused though.
Ghostkeeper 7 лет назад
Родитель
Сommit
4d5013d3ad
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      plugins/GCodeWriter/GCodeWriter.py

+ 0 - 1
plugins/GCodeWriter/GCodeWriter.py

@@ -111,7 +111,6 @@ class GCodeWriter(MeshWriter):
         prefix = ";SETTING_" + str(GCodeWriter.version) + " "  # The prefix to put before each line.
         prefix_length = len(prefix)
 
-        quality_name = stack.qualityChanges.getName()
         quality_type = stack.quality.getMetaDataEntry("quality_type")
         container_with_profile = stack.qualityChanges
         if container_with_profile.getId() == "empty_quality_changes":