summaryrefslogtreecommitdiff
path: root/surface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'surface.cc')
-rw-r--r--surface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/surface.cc b/surface.cc
index 17b859d..5083c74 100644
--- a/surface.cc
+++ b/surface.cc
@@ -63,7 +63,7 @@ AbstractNode *SurfaceModule::evaluate(const Context *ctx, const ModuleInstanciat
Value convexity = c.lookup_variable("convexity", true);
if (convexity.type == Value::NUMBER) {
- node->convexity = convexity.num;
+ node->convexity = (int)convexity.num;
}
return node;
contact: Jan Huwald // Impressum