allow use aligndrill also for geometries
This commit is contained in:
parent
f73c1b81dc
commit
1d663c4efe
|
@ -2263,9 +2263,8 @@ class App(QtCore.QObject):
|
||||||
if obj is None:
|
if obj is None:
|
||||||
return "Object not found: %s" % name
|
return "Object not found: %s" % name
|
||||||
|
|
||||||
if not isinstance(obj, FlatCAMGerber) and not isinstance(obj, FlatCAMExcellon):
|
if not isinstance(obj, FlatCAMGeometry) and not isinstance(obj, FlatCAMGerber) and not isinstance(obj, FlatCAMExcellon):
|
||||||
return "ERROR: Only Gerber and Excellon objects can be used."
|
return "ERROR: Only Gerber, Geometry and Excellon objects can be used."
|
||||||
|
|
||||||
|
|
||||||
# Axis
|
# Axis
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue