Quellcode durchsuchen

Merge pull request #16200 from takahirox/AddIsLOD

Add missing LOD.isLOD
Mr.doob vor 6 Jahren
Ursprung
Commit
1785b83ecf
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      src/objects/LOD.js

+ 2 - 0
src/objects/LOD.js

@@ -26,6 +26,8 @@ LOD.prototype = Object.assign( Object.create( Object3D.prototype ), {
 
 	constructor: LOD,
 
+	isLOD: true,
+
 	copy: function ( source ) {
 
 		Object3D.prototype.copy.call( this, source, false );