summaryrefslogtreecommitdiff
path: root/src/dxflinextrude.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxflinextrude.cc')
-rw-r--r--src/dxflinextrude.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dxflinextrude.cc b/src/dxflinextrude.cc
index b1bb6f1..06874ce 100644
--- a/src/dxflinextrude.cc
+++ b/src/dxflinextrude.cc
@@ -91,7 +91,11 @@ AbstractNode *DxfLinearExtrudeModule::evaluate(const Context *ctx, const ModuleI
Value twist = c.lookup_variable("twist", true);
Value slices = c.lookup_variable("slices", true);
- node->filename = c.get_absolute_path(file.text);
+ if(!file.text.isNull())
+ node->filename = c.get_absolute_path(file.text);
+ else
+ node->filename = file.text;
+
node->layername = layer.text;
node->height = height.num;
node->convexity = (int)convexity.num;
contact: Jan Huwald // Impressum