mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-30 13:00:24 +02:00
change path_spread and ovoid_spread to path_copies and sphere_copies
for consistency. Remove use of "spread" to refer to placement of copies in docs. Add deprecate().
This commit is contained in:
12
utility.scad
12
utility.scad
@@ -804,6 +804,18 @@ module no_module() {
|
||||
}
|
||||
|
||||
|
||||
// Module: deprecate()
|
||||
// Usage:
|
||||
// deprecate(new_name);
|
||||
// Description:
|
||||
// Display info that the current module is deprecated and you should switch to a new name
|
||||
// Arguments:
|
||||
// new_name = name of the new module that replaces the old one
|
||||
module deprecate(new_name)
|
||||
{
|
||||
echo(str("***** Module ",parent_module(1),"() has been replaced by ",new_name,"() and will be removed in a future version *****"));
|
||||
}
|
||||
|
||||
|
||||
// Section: Testing Helpers
|
||||
|
||||
|
Reference in New Issue
Block a user