mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Fixed material being wrongly serialized when baking an asset
This commit is contained in:
@@ -111,7 +111,7 @@ namespace Nuake
|
||||
AlbedoImage = image->GetID();
|
||||
}
|
||||
|
||||
Ref<Texture> albedoTexture = TextureManager::Get()->GetTexture(path);
|
||||
Ref<Texture> albedoTexture = TextureManager::Get()->GetTexture(FileSystem::RelativeToAbsolute(path));
|
||||
SetAlbedo(albedoTexture);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user