Minor fixes
This commit is contained in:
parent
4794073b73
commit
41712a3f18
|
|
@ -78,7 +78,7 @@ namespace Nz
|
||||||
if (ext[0] == '.')
|
if (ext[0] == '.')
|
||||||
ext.erase(ext.begin());
|
ext.erase(ext.begin());
|
||||||
|
|
||||||
File file(filePath.generic_u8string()); // Open only if needed
|
File file(filePath); // Open only if needed
|
||||||
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
for (auto& loaderPtr : m_loaders)
|
for (auto& loaderPtr : m_loaders)
|
||||||
|
|
|
||||||
|
|
@ -216,6 +216,7 @@ namespace Nz
|
||||||
UpdateVisibility(registry);
|
UpdateVisibility(registry);
|
||||||
UpdateInstances(registry);
|
UpdateInstances(registry);
|
||||||
|
|
||||||
|
if (!m_cameraEntities.empty())
|
||||||
m_pipeline->Render(renderFrame);
|
m_pipeline->Render(renderFrame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue