diff --git a/src/renderers/WebGLRenderer.js b/src/renderers/WebGLRenderer.js index 2bc6744bf912f09bad75808f6d79881dbc522e71..1c66d9291346ff8d460966e50d846c05b9d3c6bb 100644 --- a/src/renderers/WebGLRenderer.js +++ b/src/renderers/WebGLRenderer.js @@ -2602,6 +2602,12 @@ function WebGLRenderer( parameters ) { }; + /* + if ( typeof __THREE_DEVTOOLS__ !== undefined ) { + __THREE_DEVTOOLS__.dispatchEvent( { type: 'renderer', value: this } ); + } + */ + } export { WebGLRenderer }; diff --git a/src/scenes/Scene.js b/src/scenes/Scene.js index 536b060c3b7662e554be8ec482479edc25efae8d..ba901aa95d93013e6d5f1548d5be5891128cfacc 100644 --- a/src/scenes/Scene.js +++ b/src/scenes/Scene.js @@ -16,6 +16,12 @@ function Scene() { 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 ), {