Procházet zdrojové kódy

Merged in marius_stanciu/flatcam_beta/Beta (pull request #222)

Beta -> small fix
Marius Stanciu před 6 roky
rodič
revize
7dc1b9d339

+ 6 - 0
FlatCAMApp.py

@@ -2092,6 +2092,12 @@ class App(QtCore.QObject):
         self.setup_recent_items()
         self.setup_recent_items()
         self.setup_component_editor()
         self.setup_component_editor()
 
 
+        # this does not work in Legacy Mode
+        if self.is_legacy is True:
+            self.ui.general_defaults_form.general_gui_group.workspace_cb.setDisabled(True)
+            self.ui.general_defaults_form.general_gui_group.workspace_type_lbl.setDisabled(True)
+            self.ui.general_defaults_form.general_gui_group.wk_cb.setDisabled(True)
+
         # #####################################################################################
         # #####################################################################################
         # ######################### Auto-complete KEYWORDS ####################################
         # ######################### Auto-complete KEYWORDS ####################################
         # #####################################################################################
         # #####################################################################################

+ 1 - 1
FlatCAMObj.py

@@ -85,7 +85,7 @@ class FlatCAMObj(QtCore.QObject):
         if self.app.is_legacy is False:
         if self.app.is_legacy is False:
             self.shapes = self.app.plotcanvas.new_shape_group()
             self.shapes = self.app.plotcanvas.new_shape_group()
         else:
         else:
-            self.shapes = ShapeCollectionLegacy(obj=self, app=self.app)
+            self.shapes = ShapeCollectionLegacy(obj=self, app=self.app, name='application')
 
 
         # self.mark_shapes = self.app.plotcanvas.new_shape_collection(layers=2)
         # self.mark_shapes = self.app.plotcanvas.new_shape_collection(layers=2)
         self.mark_shapes = {}
         self.mark_shapes = {}

+ 1 - 0
README.md

@@ -28,6 +28,7 @@ CAD program, and create G-Code for Isolation routing.
 - updated the .POT file and the translation files
 - updated the .POT file and the translation files
 - updated and corrected the Romanian and Spanish translations
 - updated and corrected the Romanian and Spanish translations
 - updated the .PO files for the rest of the translations, they need to be filled in.
 - updated the .PO files for the rest of the translations, they need to be filled in.
+- fixed crash when trying to set a workspace in FlatCAM in the Legacy engine 2D mode by disabling this function for the case of 2D mode
 
 
 21.09.2019
 21.09.2019
 
 

binární
locale/de/LC_MESSAGES/strings.mo


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 206 - 206
locale/de/LC_MESSAGES/strings.po


binární
locale/en/LC_MESSAGES/strings.mo


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 206 - 206
locale/en/LC_MESSAGES/strings.po


binární
locale/es/LC_MESSAGES/strings.mo


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 206 - 206
locale/es/LC_MESSAGES/strings.po


binární
locale/pt_BR/LC_MESSAGES/strings.mo


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 206 - 206
locale/pt_BR/LC_MESSAGES/strings.po


binární
locale/ro/LC_MESSAGES/strings.mo


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 206 - 206
locale/ro/LC_MESSAGES/strings.po


binární
locale/ru/LC_MESSAGES/strings.mo


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 205 - 205
locale/ru/LC_MESSAGES/strings.po


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 205 - 205
locale_template/strings.pot


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů