projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2e6f2f
)
fixed issue with texcoordinate bufferview target
author
Angelo Scandaliato
<angelo@adtile.me>
Thu, 29 Sep 2016 01:50:08 +0000
(18:50 -0700)
committer
Angelo Scandaliato
<angelo@adtile.me>
Thu, 29 Sep 2016 01:50:08 +0000
(18:50 -0700)
code/glTFExporter.cpp
patch
|
blob
|
history
diff --git
a/code/glTFExporter.cpp
b/code/glTFExporter.cpp
index
6bff387
..
83a2e0e
100644
(file)
--- a/
code/glTFExporter.cpp
+++ b/
code/glTFExporter.cpp
@@
-397,7
+397,7
@@
void glTFExporter::ExportMeshes()
if(comp_allow) idx_srcdata_tc.push_back(b->byteLength);// Store index of texture coordinates array.
- Ref<Accessor> tc = ExportData(*mAsset, meshId, b, aim->mNumVertices, aim->mTextureCoords[i], AttribType::VEC3, type, ComponentType_FLOAT,
tru
e);
+ Ref<Accessor> tc = ExportData(*mAsset, meshId, b, aim->mNumVertices, aim->mTextureCoords[i], AttribType::VEC3, type, ComponentType_FLOAT,
fals
e);
if (tc) p.attributes.texcoord.push_back(tc);
}
}