From dc89c70d2fe67de02ee4e3e00a984dfae89b7c97 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Thu, 8 Jan 2015 20:17:07 -0500 Subject: [PATCH] Fixed a bug where each object in the active document was referred to by its label instead of its name. --- CadQuery/Gui/Command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CadQuery/Gui/Command.py b/CadQuery/Gui/Command.py index dd9739e..1ba7b5f 100644 --- a/CadQuery/Gui/Command.py +++ b/CadQuery/Gui/Command.py @@ -21,7 +21,7 @@ def clearActiveDocument(): #Make sure we have an active document to work with if doc is not None: for obj in doc.Objects: - doc.removeObject(obj.Label) + doc.removeObject(obj.Name) class CadQueryClearOutput: """Allows the user to clear the reports view when it gets overwhelmed with output"""