summaryrefslogtreecommitdiff
path: root/render.cc
diff options
context:
space:
mode:
Diffstat (limited to 'render.cc')
-rw-r--r--render.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.cc b/render.cc
index b9359a5..98a8ecb 100644
--- a/render.cc
+++ b/render.cc
@@ -56,7 +56,7 @@ AbstractNode *RenderModule::evaluate(const Context *ctx, const ModuleInstanciati
Value v = c.lookup_variable("convexity");
if (v.type == Value::NUMBER)
- node->convexity = v.num;
+ node->convexity = (int)v.num;
foreach (ModuleInstanciation *v, inst->children) {
AbstractNode *n = v->evaluate(inst->ctx);
contact: Jan Huwald // Impressum