diff options
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."); } |