提交 41e2b4ae 编写于 作者: M Mr.doob

Added commented out future devtool calls.

上级 edf2c0b4
...@@ -2602,6 +2602,12 @@ function WebGLRenderer( parameters ) { ...@@ -2602,6 +2602,12 @@ function WebGLRenderer( parameters ) {
}; };
/*
if ( typeof __THREE_DEVTOOLS__ !== undefined ) {
__THREE_DEVTOOLS__.dispatchEvent( { type: 'renderer', value: this } );
}
*/
} }
export { WebGLRenderer }; export { WebGLRenderer };
...@@ -16,6 +16,12 @@ function Scene() { ...@@ -16,6 +16,12 @@ function Scene() {
this.autoUpdate = true; // checked by the renderer this.autoUpdate = true; // checked by the renderer
/*
if ( typeof __THREE_DEVTOOLS__ !== undefined ) {
__THREE_DEVTOOLS__.dispatchEvent( { type: 'scene', value: this } );
}
*/
} }
Scene.prototype = Object.assign( Object.create( Object3D.prototype ), { Scene.prototype = Object.assign( Object.create( Object3D.prototype ), {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册