OSDN Git Service
(root)
/
meshio
/
pymeshio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pmd default argument bug fix
[meshio/pymeshio.git]
/
pymeshio
/
pmd
/
__init__.py
diff --git
a/pymeshio/pmd/__init__.py
b/pymeshio/pmd/__init__.py
index
86f92be
..
afba0ce
100644
(file)
--- a/
pymeshio/pmd/__init__.py
+++ b/
pymeshio/pmd/__init__.py
@@
-244,7
+244,8
@@
class Bone(object):
def hasChild(self):
return self.tail_index!=0
- def display(self, indent=[]):
+ def display(self, indent=None):
+ indent=indent or []
if len(indent)>0:
prefix=''
for i, is_end in enumerate(indent):