mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
can now load models through model panel
This commit is contained in:
@@ -28,7 +28,7 @@ void EditorSelectionPanel::ResolveFile(Ref<Nuake::File> file)
|
||||
|
||||
if (currentFile->GetExtension() == ".material")
|
||||
{
|
||||
Ref<Material> material = ResourceLoader::LoadResource(currentFile->GetRelativePath());
|
||||
Ref<Material> material = ResourceLoader::LoadMaterial(currentFile->GetRelativePath());
|
||||
selectedResource = material;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user