summaryrefslogtreecommitdiffstats
path: root/dimension/realize.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-19 14:00:11 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-19 14:07:42 -0500
commit4899481ed7179d9c1c8e43b7b366b012d9b86218 (patch)
tree0301b4cdb86da07fa46b376e855a483c196c0302 /dimension/realize.c
parente220611617c71d9bbb142fb88a85d7c4c41b6b07 (diff)
downloaddimension-4899481ed7179d9c1c8e43b7b366b012d9b86218.tar.xz
Parse max_intersections.
Diffstat (limited to 'dimension/realize.c')
-rw-r--r--dimension/realize.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/dimension/realize.c b/dimension/realize.c
index 8ac8279..4e62316 100644
--- a/dimension/realize.c
+++ b/dimension/realize.c
@@ -239,15 +239,16 @@ dmnsn_realize_global_settings(dmnsn_astnode astnode, dmnsn_scene *scene)
dmnsn_astnode child;
switch (item->type) {
- case DMNSN_AST_ASSUMED_GAMMA:
- /* assumed_gamma not supported */
- break;
-
case DMNSN_AST_MAX_TRACE_LEVEL:
dmnsn_array_get(item->children, 0, &child);
scene->reclimit = dmnsn_realize_integer(child);
break;
+ case DMNSN_AST_ASSUMED_GAMMA:
+ case DMNSN_AST_MAX_INTERSECTIONS:
+ /* Ignored settings */
+ break;
+
default:
dmnsn_assert(false, "Invalid global settings item.");
}