diff --git a/editor/index.html b/editor/index.html
index 516a406590b11cbe9aa4274603551f6164e48a00..9c87994c09437f4232e0e23a5ba61816709d0b0b 100644
--- a/editor/index.html
+++ b/editor/index.html
@@ -307,7 +307,7 @@
if ( resetScene ) {
- signals.sceneAdded.dispatch( result.scene, result.currentCamera, result.bgColor );
+ signals.sceneAdded.dispatch( result.scene, result.currentCamera );
} else {
diff --git a/editor/js/ui/Viewport.js b/editor/js/ui/Viewport.js
index ca930d41f8cea38c42a2e47c0bfcea9d4c28db91..8d114b263968a9fbdcd2860dd9d804ec3b51c33a 100644
--- a/editor/js/ui/Viewport.js
+++ b/editor/js/ui/Viewport.js
@@ -722,7 +722,7 @@ var Viewport = function ( signals ) {
} );
- signals.sceneAdded.add( function ( newScene, newCamera, newClearColor ) {
+ signals.sceneAdded.add( function ( newScene, newCamera ) {
scene = newScene;
@@ -773,12 +773,6 @@ var Viewport = function ( signals ) {
}
- if ( newClearColor ) {
-
- signals.clearColorChanged.dispatch( newClearColor.getHex() );
-
- }
-
if ( newScene.fog ) {
oldFogColor = newScene.fog.color.getHex();
diff --git a/examples/js/exporters/SceneExporter.js b/examples/js/exporters/SceneExporter.js
index 952d06154ab6ee9564621b2d81d98f0c50bc7088..64621416f73ee82e164fc2433fe67eecdd8589e6 100644
--- a/examples/js/exporters/SceneExporter.js
+++ b/examples/js/exporters/SceneExporter.js
@@ -151,8 +151,6 @@ THREE.SceneExporter.prototype = {
} );
- var bgcolor = ColorString( clearColor );
- var bgalpha = clearAlpha;
var defcamera = LabelString( activeCamera ? getObjectName( activeCamera ) : "" );
var deffog = LabelString( scene.fog ? getFogName( scene.fog ) : "" );
@@ -743,8 +741,6 @@ THREE.SceneExporter.prototype = {
'',
' "defaults" :',
' {',
- ' "bgcolor" : ' + bgcolor + ',',
- ' "bgalpha" : ' + bgalpha + ',',
' "camera" : ' + defcamera + ',',
' "fog" : ' + deffog,
' }',
diff --git a/src/loaders/SceneLoader.js b/src/loaders/SceneLoader.js
index ebd693f1a69ad96a512f28ab40c5aae66d153732..226f9eaac849b5dac9a29495c3af14d367264d1a 100644
--- a/src/loaders/SceneLoader.js
+++ b/src/loaders/SceneLoader.js
@@ -1152,12 +1152,6 @@ THREE.SceneLoader.prototype.parse = function ( json, callbackFinished, url ) {
}
- color = data.defaults.bgcolor;
- result.bgColor = new THREE.Color();
- result.bgColor.setRGB( color[0], color[1], color[2] );
-
- result.bgColorAlpha = data.defaults.bgalpha;
-
// synchronous callback
scope.callbackSync( result );