- fixed bug in Cutout Plugin that when no object is loaded and the Generate Rectangular Geometry is clicked, the app will hard crash
This commit is contained in:
@@ -14,6 +14,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
- in Preferences the language names are in the native language
|
- in Preferences the language names are in the native language
|
||||||
- fixed a Qt6 derived issue where dragging tabs outside the app crashed the app
|
- fixed a Qt6 derived issue where dragging tabs outside the app crashed the app
|
||||||
- updated the Chinese translation, by 俊霄 余
|
- updated the Chinese translation, by 俊霄 余
|
||||||
|
- fixed bug in Cutout Plugin that when no object is loaded and the Generate Rectangular Geometry is clicked, the app will hard crash
|
||||||
|
|
||||||
25.08.2021
|
25.08.2021
|
||||||
|
|
||||||
|
|||||||
@@ -1132,6 +1132,7 @@ class CutOut(AppTool):
|
|||||||
|
|
||||||
if cutout_obj is None:
|
if cutout_obj is None:
|
||||||
self.app.inform.emit('[ERROR_NOTCL] %s: %s' % (_("Object not found"), str(name)))
|
self.app.inform.emit('[ERROR_NOTCL] %s: %s' % (_("Object not found"), str(name)))
|
||||||
|
return
|
||||||
|
|
||||||
dia = float(self.ui.dia.get_value())
|
dia = float(self.ui.dia.get_value())
|
||||||
if 0 in {dia}:
|
if 0 in {dia}:
|
||||||
|
|||||||
Reference in New Issue
Block a user