diff options
author | Marius Kintel <marius@kintel.net> | 2013-04-27 04:55:15 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-04-27 04:55:15 (GMT) |
commit | 6b3daa748543f13cc7cf8eff1c9efeebd6dc3a14 (patch) | |
tree | 8869b03872b42ce1ffb1755958d05925f9f0bcb4 /src/surface.cc | |
parent | f0ee85e17d474ab9119f82ee6f802d4634743b12 (diff) | |
parent | 5f10c9f9c0a9805567ea8f9b560c6e0b50126119 (diff) |
Merge pull request #326 from openscad/issue217
Issue217
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 4339ead..ca5031e 100644 --- a/src/surface.cc +++ b/src/surface.cc @@ -83,7 +83,7 @@ AbstractNode *SurfaceModule::evaluate(const Context *ctx, const ModuleInstantiat c.args(argnames, argexpr, inst->argnames, inst->argvalues); Value fileval = c.lookup_variable("file"); - node->filename = c.getAbsolutePath(fileval.isUndefined() ? "" : fileval.toString()); + node->filename = inst->getAbsolutePath(fileval.isUndefined() ? "" : fileval.toString()); Value center = c.lookup_variable("center", true); if (center.type() == Value::BOOL) { |