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
implement converter
[meshio/pymeshio.git]
/
pymeshio
/
pmx
/
reader.py
diff --git
a/pymeshio/pmx/reader.py
b/pymeshio/pmx/reader.py
index
59a7eff
..
1126f79
100644
(file)
--- a/
pymeshio/pmx/reader.py
+++ b/
pymeshio/pmx/reader.py
@@
-286,7
+286,9
@@
def read_from_file(path):
<pmx-2.0 "Miku Hatsune" 12354vertices>
\r
\r
"""
\r
- return read(io.BytesIO(pymeshio.common.readall(path)))
\r
+ pmx=read(io.BytesIO(pymeshio.common.readall(path)))
\r
+ pmx.path=path
\r
+ return pmx
\r
\r
\r
def read(ios):
\r