From: ousttrue Date: Thu, 26 May 2011 15:17:36 +0000 (+0900) Subject: add UshortVectoadd X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=3cb160e454594f2a38d8a75b1b34a76ba8e8d55c;p=meshio%2Fpymeshio.git add UshortVectoadd --- diff --git a/blender25-meshio/pymeshio/pmd.py b/blender25-meshio/pymeshio/pmd.py index 076fc11..4c64ad8 100644 --- a/blender25-meshio/pymeshio/pmd.py +++ b/blender25-meshio/pymeshio/pmd.py @@ -7,6 +7,10 @@ from .mmd import * ############################################################################### # PMD ############################################################################### +def UshortVector(): + return [] + + class Vertex(object): __slots__=['pos', 'normal', 'uv', 'bone0', 'bone1', 'weight0', 'edge_flag'] def __init__(self, x=0, y=0, z=0, nx=0, ny=0, nz=0, u=0, v=0, @@ -365,10 +369,10 @@ class IO(object): def __init__(self): self.version=1.0 - self.name='default' - self.comment='default' - self.english_name='default' - self.english_comment='default' + self.name='' + self.comment='' + self.english_name='' + self.english_comment='' self.vertices=[] self.indices=[] self.materials=[]