From 1d663c4efe4ecfa149c9b448c51021b55dcb8e81 Mon Sep 17 00:00:00 2001 From: Kamil Sopko Date: Sun, 21 Feb 2016 17:39:26 +0100 Subject: [PATCH] allow use aligndrill also for geometries --- FlatCAMApp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index c32fdce1..2e6b0ada 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -2263,9 +2263,8 @@ class App(QtCore.QObject): if obj is None: return "Object not found: %s" % name - if not isinstance(obj, FlatCAMGerber) and not isinstance(obj, FlatCAMExcellon): - return "ERROR: Only Gerber and Excellon objects can be used." - + if not isinstance(obj, FlatCAMGeometry) and not isinstance(obj, FlatCAMGerber) and not isinstance(obj, FlatCAMExcellon): + return "ERROR: Only Gerber, Geometry and Excellon objects can be used." # Axis try: