summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-04-18 17:34:09 -0400
committerTavian Barnes <tavianator@gmail.com>2010-04-18 17:34:09 -0400
commitcafde402d15049e71eaa3f19e9fee58aa1b7c580 (patch)
tree4303691f93e4bcbaf2a59770bf18324dbab49858
parent11d364ec365c46c21271012b566966d342a90a8b (diff)
downloaddimension-cafde402d15049e71eaa3f19e9fee58aa1b7c580.tar.xz
Support all object identifier types.
-rw-r--r--dimension/common.rules7
1 files changed, 6 insertions, 1 deletions
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);