浏览代码

Raycaster: Display the type of camera that is not supported.

HeQiang 4 年之前
父节点
当前提交
227b45b7e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/Raycaster.js

+ 1 - 1
src/core/Raycaster.js

@@ -86,7 +86,7 @@ Object.assign( Raycaster.prototype, {
 
 		} else {
 
-			console.error( 'THREE.Raycaster: Unsupported camera type.' );
+			console.error( 'THREE.Raycaster: Unsupported camera type, "' + camera.type + '".' );
 
 		}