diff options
Diffstat (limited to 'surface.cc')
-rw-r--r-- | surface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |