Mugen87 4 лет назад
Родитель
Сommit
39b5476635
1 измененных файлов с 1 добавлено и 1 удалено
  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 );