From d79cb1d5e70ba51608f059c0907afb3e1ad5cf85 Mon Sep 17 00:00:00 2001 From: Kalila <69767640+digisomni@users.noreply.github.com> Date: Sun, 11 Feb 2024 14:50:13 +1100 Subject: [PATCH] Fix typo. --- src/modules/scene/LightmapManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/scene/LightmapManager.ts b/src/modules/scene/LightmapManager.ts index ed97e5f3..825c9f01 100644 --- a/src/modules/scene/LightmapManager.ts +++ b/src/modules/scene/LightmapManager.ts @@ -27,14 +27,14 @@ export class LightmapManager { const metadata = new MeshTypes.Metadata(metadataExtras as Partial); if ( - metadata.vircadia_lightmap_default + metadata.vircadia_lightmap && metadata.vircadia_lightmap_texcoord ) { // Log.debug( // Log.types.ENTITIES, - // `Mesh ${mesh.name} has lightmap metadata: ${metadata.vircadia_lightmap_default}` + // `Mesh ${mesh.name} has lightmap metadata: ${metadata.vircadia_lightmap}` // ); - const lightmapMaterialName = metadata.vircadia_lightmap_default; + const lightmapMaterialName = metadata.vircadia_lightmap; // Search for the material by name const material = scene.materials.find( (m) => m.name === lightmapMaterialName