Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
digisomni committed Feb 11, 2024
1 parent 70b4d0f commit d79cb1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/scene/LightmapManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ export class LightmapManager {
const metadata = new MeshTypes.Metadata(metadataExtras as Partial<MeshTypes.MetadataInterface>);

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
Expand Down

0 comments on commit d79cb1d

Please sign in to comment.