Browse Source

Update modules.

Mugen87 4 years ago
parent
commit
39b5476635
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/exporters/PLYExporter.js

+ 1 - 1
examples/jsm/exporters/PLYExporter.js

@@ -51,7 +51,7 @@ PLYExporter.prototype = {
 
 					if ( geometry.isBufferGeometry === true ) {
 
-						if ( geometry.getAttribute( 'position' ) !== undefined ) {
+						if ( geometry.hasAttribute( 'position' ) === true ) {
 
 							cb( mesh, geometry );