diff options
Diffstat (limited to 'src/surface.cc')
-rw-r--r-- | src/surface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface.cc b/src/surface.cc index d9a0c6e..b7dfa0f 100644 --- a/src/surface.cc +++ b/src/surface.cc @@ -78,7 +78,7 @@ AbstractNode *SurfaceModule::evaluate(const Context *ctx, const ModuleInstantiat Context c(ctx); c.args(argnames, argexpr, inst->argnames, inst->argvalues); - node->filename = c.get_absolute_path(c.lookup_variable("file").text); + node->filename = c.getAbsolutePath(c.lookup_variable("file").text); Value center = c.lookup_variable("center", true); if (center.type == Value::BOOL) { |