فهرست منبع

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 );