Formatting
parent
28523232cf
commit
814e8b3f8e
|
@ -934,11 +934,8 @@ inline void Node::Read(Value& obj, Asset& r)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Value* mesh = FindUInt(obj, "mesh")) {
|
if (Value* mesh = FindUInt(obj, "mesh")) {
|
||||||
//unsigned numMeshes = (unsigned)meshes->Size();
|
|
||||||
unsigned numMeshes = 1;
|
unsigned numMeshes = 1;
|
||||||
|
|
||||||
//std::vector<unsigned int> meshList;
|
|
||||||
|
|
||||||
this->meshes.reserve(numMeshes);
|
this->meshes.reserve(numMeshes);
|
||||||
|
|
||||||
Ref<Mesh> meshRef = r.meshes.Retrieve((*mesh).GetUint());
|
Ref<Mesh> meshRef = r.meshes.Retrieve((*mesh).GetUint());
|
||||||
|
|
Loading…
Reference in New Issue