- few bugs solved regarding the newly created empty objects
This commit is contained in:
@@ -307,9 +307,12 @@ class Properties(FlatCAMTool):
|
||||
area_chull = None
|
||||
log.debug("Properties.addItems() --> %s" % str(e))
|
||||
|
||||
if self.app.defaults['units'].lower() == 'mm':
|
||||
if self.app.defaults['units'].lower() == 'mm' and area_chull:
|
||||
area_chull = area_chull / 100
|
||||
|
||||
if area_chull is None:
|
||||
area_chull = 0
|
||||
|
||||
self.calculations_finished.emit(area, length, width, area_chull, copper_area, dims)
|
||||
|
||||
self.app.worker_task.emit({'fcn': job_thread, 'params': [obj]})
|
||||
|
||||
Reference in New Issue
Block a user