diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-11-19 14:00:11 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-11-19 14:07:42 -0500 |
commit | 4899481ed7179d9c1c8e43b7b366b012d9b86218 (patch) | |
tree | 0301b4cdb86da07fa46b376e855a483c196c0302 /dimension/realize.c | |
parent | e220611617c71d9bbb142fb88a85d7c4c41b6b07 (diff) | |
download | dimension-4899481ed7179d9c1c8e43b7b366b012d9b86218.tar.xz |
Parse max_intersections.
Diffstat (limited to 'dimension/realize.c')
-rw-r--r-- | dimension/realize.c | 9 |
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."); } |