Changed name check for hardcoded racoon mesh

This commit is contained in:
Xiao Qi 2022-11-04 17:20:52 +08:00
parent 1f0d54486d
commit 9ef956029e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ namespace Sandbox
switch (asset.type) switch (asset.type)
{ {
case AssetType::MESH: case AssetType::MESH:
if (asset.name == "Cube.012") if (asset.name == "Raccoon")
handles.emplace_back(SHResourceManager::LoadOrGet<SHMesh>(asset.id)); handles.emplace_back(SHResourceManager::LoadOrGet<SHMesh>(asset.id));
break; break;
case AssetType::TEXTURE: case AssetType::TEXTURE: