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/dxfrotextrude.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/dxfrotextrude.cc')
-rw-r--r-- | src/dxfrotextrude.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dxfrotextrude.cc b/src/dxfrotextrude.cc index 338a73e..5889cee 100644 --- a/src/dxfrotextrude.cc +++ b/src/dxfrotextrude.cc @@ -70,8 +70,10 @@ AbstractNode *DxfRotateExtrudeModule::evaluate(const Context *ctx, const ModuleI Value origin = c.lookup_variable("origin", true); Value scale = c.lookup_variable("scale", true); - if (!file.text.empty()) + if (!file.text.empty()) { + PRINTF("DEPRECATED: Support for reading files in rotate_extrude will be removed in future releases. Use a child import() instead."); node->filename = c.getAbsolutePath(file.text); + } node->layername = layer.text; node->convexity = (int)convexity.num; |