diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-06 22:11:00 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-06 22:11:00 (GMT) |
commit | 29adaed02441832ce54d0f232f5ecb43eb28355d (patch) | |
tree | efc2c6e7d174c856e3fab68336af61cb7a096a70 /src/dxflinextrude.cc | |
parent | ac01975b02055c6e66bb8c9d97f0d9bc876913b5 (diff) |
Deprecated dxf_linear_extrude(), dxf_rotate_extrude() and the file parameters to linear_extrude() and rotate_extrude()
Diffstat (limited to 'src/dxflinextrude.cc')
-rw-r--r-- | src/dxflinextrude.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dxflinextrude.cc b/src/dxflinextrude.cc index 14d69c4..fd37ffa 100644 --- a/src/dxflinextrude.cc +++ b/src/dxflinextrude.cc @@ -76,8 +76,10 @@ AbstractNode *DxfLinearExtrudeModule::evaluate(const Context *ctx, const ModuleI Value twist = c.lookup_variable("twist", true); Value slices = c.lookup_variable("slices", true); - if (!file.text.empty()) + if (!file.text.empty()) { + PRINTF("DEPRECATED: Support for reading files in linear_extrude will be removed in future releases. Use a child import() instead."); node->filename = c.getAbsolutePath(file.text); + } node->layername = layer.text; node->height = height.num; |