Skip to content

Commit bf7d99e

Browse files
authored
fix typo (mrdoob#27152)
1 parent 8e66fe5 commit bf7d99e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/exporters/GLTFExporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2796,7 +2796,7 @@ class GLTFMaterialsSpecularExtension {
27962796

27972797
if ( ! material.isMeshPhysicalMaterial || ( material.specularIntensity === 1.0 &&
27982798
material.specularColor.equals( DEFAULT_SPECULAR_COLOR ) &&
2799-
! material.specularIntensityMap && ! material.specularColorTexture ) ) return;
2799+
! material.specularIntensityMap && ! material.specularColorMap ) ) return;
28002800

28012801
const writer = this.writer;
28022802
const extensionsUsed = writer.extensionsUsed;

0 commit comments

Comments
 (0)