Browse Source

Add comment

Temdog007 6 years ago
parent
commit
7364225413
1 changed files with 2 additions and 0 deletions
  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,