OSDN Git Service
(root)
/
meshio
/
pymeshio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8a713
)
pmd default argument bug fix
author
ousttrue
<ousttrue@gmail.com>
Wed, 12 Oct 2011 16:49:31 +0000
(
01:49
+0900)
committer
ousttrue
<ousttrue@gmail.com>
Wed, 12 Oct 2011 16:49:31 +0000
(
01:49
+0900)
pymeshio/pmd/__init__.py
patch
|
blob
|
history
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):