|
@@ -16,11 +16,9 @@ function Scene() {
|
|
|
|
|
|
this.autoUpdate = true; // checked by the renderer
|
|
|
|
|
|
- /*
|
|
|
- if ( typeof __THREE_DEVTOOLS__ !== undefined ) {
|
|
|
- __THREE_DEVTOOLS__.dispatchEvent( { type: 'scene', value: this } );
|
|
|
+ if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
|
|
|
+ __THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'observe', { detail: this } ) );
|
|
|
}
|
|
|
- */
|
|
|
|
|
|
}
|
|
|
|