From cafde402d15049e71eaa3f19e9fee58aa1b7c580 Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@gmail.com>
Date: Sun, 18 Apr 2010 17:34:09 -0400
Subject: Support all object identifier types.

---
 dimension/common.rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'dimension')

diff --git a/dimension/common.rules b/dimension/common.rules
index 075b276..a50d800 100644
--- a/dimension/common.rules
+++ b/dimension/common.rules
@@ -130,8 +130,13 @@ OBJECT: FINITE_SOLID_OBJECT
         } else {
           switch (object->type) {
           case DMNSN_AST_BOX:
-          case DMNSN_AST_SPHERE:
+          case DMNSN_AST_DIFFERENCE:
+          case DMNSN_AST_INTERSECTION:
           case DMNSN_AST_LIGHT_SOURCE:
+          case DMNSN_AST_MERGE:
+          case DMNSN_AST_PLANE:
+          case DMNSN_AST_SPHERE:
+          case DMNSN_AST_UNION:
             {
               dmnsn_delete_astnode($3);
 
-- 
cgit v1.2.3