瀏覽代碼

Update modules.

Mugen87 4 年之前
父節點
當前提交
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 );