Merge remote-tracking branch 'origin/main' into SP3-4-editor_fix
This commit is contained in:
commit
ac70758341
|
@ -41,6 +41,8 @@ namespace Sandbox
|
||||||
auto meshes = SHADE::SHAssetManager::GetAllMeshes();
|
auto meshes = SHADE::SHAssetManager::GetAllMeshes();
|
||||||
std::vector<Handle<SHMesh>> handles;
|
std::vector<Handle<SHMesh>> handles;
|
||||||
for (auto const& mesh : meshes)
|
for (auto const& mesh : meshes)
|
||||||
|
{
|
||||||
|
if (mesh.meshName == "Cube.012")
|
||||||
{
|
{
|
||||||
handles.push_back(graphicsSystem->AddMesh(
|
handles.push_back(graphicsSystem->AddMesh(
|
||||||
mesh.header.vertexCount,
|
mesh.header.vertexCount,
|
||||||
|
@ -52,6 +54,7 @@ namespace Sandbox
|
||||||
mesh.indices.data()
|
mesh.indices.data()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
graphicsSystem->BuildMeshBuffers();
|
graphicsSystem->BuildMeshBuffers();
|
||||||
|
|
||||||
//Test Textures
|
//Test Textures
|
||||||
|
|
Loading…
Reference in New Issue