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
(from parent 1:
77fbf72
)
fix toon_index
author
ousttrue
<ousttrue@gmail.com>
Tue, 7 Jun 2011 11:41:37 +0000
(20:41 +0900)
committer
ousttrue
<ousttrue@gmail.com>
Tue, 7 Jun 2011 11:42:18 +0000
(20:42 +0900)
blender25-meshio/export_pmd.py
patch
|
blob
|
history
diff --git
a/blender25-meshio/export_pmd.py
b/blender25-meshio/export_pmd.py
index
3b683c8
..
0b6490c
100644
(file)
--- a/
blender25-meshio/export_pmd.py
+++ b/
blender25-meshio/export_pmd.py
@@
-117,7
+117,7
@@
def setMaterialParams(material, m):
# flag
material.flag=1 if m.subsurface_scattering.use else 0
# toon
- material.toon_index=
7
+ material.toon_index=
0
def toCP932(s):
return s.encode('cp932')
@@
-958,7
+958,6
@@
class PmdExporter(object):
setMaterialParams(material, m)
material.vertex_count=len(indices)
- material.toon_index=0
def get_texture_name(texture):
pos=texture.replace("\\", "/").rfind("/")
if pos==-1: