Fixed material being wrongly serialized when baking an asset

This commit is contained in:
antopilo
2025-04-17 22:23:00 -04:00
parent 217a4fbcb6
commit 54b7c4143f

View File

@@ -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);
}
}