We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c2dda commit 44f052dCopy full SHA for 44f052d
solid/core/object_base.py
@@ -9,10 +9,16 @@ def __init__(self):
9
10
def add(self, c):
11
if isinstance(c, list):
12
- self.children += c
+ #self.children += c
13
+ #hmmmm we need this recursion for backward compatibility =(
14
+ #at least the legacy_splines_example calls add([[...]])
15
+ for cc in c:
16
+ self.add(cc)
17
else:
18
self.children += [c]
19
20
+ return self
21
+
22
def copy(self):
23
return deepcopy(self)
24
solid/extensions/convenience.py
@@ -79,7 +79,7 @@ def mirror(v):
79
80
@mirror.register(int)
81
@mirror.register(float)
82
-def _translate(*args):
+def _mirror(*args):
83
return builtins.mirror(args)
84
85
# =========
0 commit comments