Fixed Model "Mesh" loader not using mesh parameters
Former-commit-id: 5fd20c30c3d9afa2651ddd17ca74dabf025ec826
This commit is contained in:
parent
cd46555acc
commit
06cda62c9a
|
|
@ -25,7 +25,7 @@ namespace
|
|||
|
||||
std::unique_ptr<NzMesh> mesh(new NzMesh);
|
||||
mesh->SetPersistent(false);
|
||||
if (!mesh->LoadFromStream(stream))
|
||||
if (!mesh->LoadFromStream(stream, parameters.mesh))
|
||||
{
|
||||
NazaraError("Failed to load model mesh");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue