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:
2852323
)
Formatting
author
Daniel Hritzkiv
<daniel.hritzkiv@gmail.com>
Mon, 18 Sep 2017 14:20:02 +0000
(10:20 -0400)
committer
Daniel Hritzkiv
<daniel.hritzkiv@gmail.com>
Mon, 18 Sep 2017 15:16:05 +0000
(11:16 -0400)
code/glTF2Asset.inl
patch
|
blob
|
history
diff --git
a/code/glTF2Asset.inl
b/code/glTF2Asset.inl
index
0a3e2b0
..
47904b3
100644
(file)
--- a/
code/glTF2Asset.inl
+++ b/
code/glTF2Asset.inl
@@
-934,11
+934,8
@@
inline void Node::Read(Value& obj, Asset& r)
}
if (Value* mesh = FindUInt(obj, "mesh")) {
- //unsigned numMeshes = (unsigned)meshes->Size();
unsigned numMeshes = 1;
- //std::vector<unsigned int> meshList;
-
this->meshes.reserve(numMeshes);
Ref<Mesh> meshRef = r.meshes.Retrieve((*mesh).GetUint());