- updated Tcl commands to make use of either 0 or False for False value or 1 or True for True in case of a parameter with type Bool
This commit is contained in:
@@ -74,11 +74,11 @@ class TclCommandNregions(TclCommand):
|
||||
|
||||
if 'margin' not in args:
|
||||
args['margin'] = float(self.app.defaults["gerber_noncoppermargin"])
|
||||
margin = args['margin']
|
||||
margin = float(args['margin'])
|
||||
|
||||
if 'rounded' not in args:
|
||||
args['rounded'] = self.app.defaults["gerber_noncopperrounded"]
|
||||
rounded = args['rounded']
|
||||
rounded = bool(args['rounded'])
|
||||
|
||||
del args['name']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user