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

- fixed issue where after loading a project, if the default kind of CNCjob view is only 'cuts' the plot will revert to the 'all' type

Marius Stanciu 7 лет назад
Родитель
Сommit
5a631a2881
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      FlatCAMApp.py
  2. 1 1
      README.md

+ 1 - 1
FlatCAMApp.py

@@ -6214,7 +6214,7 @@ class App(QtCore.QObject):
         for obj in self.collection.get_list():
         for obj in self.collection.get_list():
             def worker_task(obj):
             def worker_task(obj):
                 with self.proc_container.new("Plotting"):
                 with self.proc_container.new("Plotting"):
-                    obj.plot()
+                    obj.plot(kind=self.defaults["cncjob_plot_kind"])
                     if zoom:
                     if zoom:
                         self.object_plotted.emit(obj)
                         self.object_plotted.emit(obj)
 
 

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ CAD program, and create G-Code for Isolation routing.
 - New feature: added the capability to view the source code of the Gerber/Excellon file that was loaded into the app. The file is also stored as an object attribute for later use. The view option is in the project context menu and in Menu -> Options -> View Source
 - New feature: added the capability to view the source code of the Gerber/Excellon file that was loaded into the app. The file is also stored as an object attribute for later use. The view option is in the project context menu and in Menu -> Options -> View Source
 - Serialized the source_file of the Objects so it is saved in the FlatCAM project and restored.
 - Serialized the source_file of the Objects so it is saved in the FlatCAM project and restored.
 - if there is a single tool in the tool list (Geometry , Excellon) and the user click the Generate GCode, use that tool even if it is not selected
 - if there is a single tool in the tool list (Geometry , Excellon) and the user click the Generate GCode, use that tool even if it is not selected
-- 
+- fixed issue where after loading a project, if the default kind of CNCjob view is only 'cuts' the plot will revert to the 'all' type
 
 
 16.02.2019
 16.02.2019