Temdog007 6 سال پیش
والد
کامیت
226b329fbd
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/loaders/ObjectLoader.js

+ 2 - 0
src/loaders/ObjectLoader.js

@@ -344,6 +344,8 @@ Object.assign( ObjectLoader.prototype, {
 					case 'TubeGeometry':
 					case 'TubeBufferGeometry':
 
+						// This only works for built-in curves (e.g. CatmullRomCurve3).
+						// User defined curves or instances of CurvePath will not be deserialized.
 						geometry = new Geometries[ data.type ](
 							new Curves[ data.path.type ]().fromJSON( data.path ),
 							data.tubularSegments,