summaryrefslogtreecommitdiff
path: root/src/surface.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-03 16:51:29 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-03 16:51:29 (GMT)
commitf58c0a3eb5ce9f252e98f41ddc34dcb70a68052b (patch)
treea2f3fb5b102e494feadc7c4e6e1cbf843f0699e3 /src/surface.cc
parent16b74df94104525436342e7a128573a2a63d3494 (diff)
Some cleanup of the Context class
Diffstat (limited to 'src/surface.cc')
-rw-r--r--src/surface.cc2
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) {
contact: Jan Huwald // Impressum