Skip to content

Commit edd78bf

Browse files
committed
Update Editor
1 parent 88a07fd commit edd78bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

editor/js/Editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Strings } from './Strings.js';
77
import { Storage as _Storage } from './Storage.js';
88
import { Selector } from './Viewport.Selector.js';
99

10-
THREE.ColorManagement.legacyMode = false;
10+
THREE.ColorManagement.enabled = true;
1111

1212
var _DEFAULT_CAMERA = new THREE.PerspectiveCamera( 50, 1, 0.01, 1000 );
1313
_DEFAULT_CAMERA.name = 'Camera';

editor/js/libs/app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
window.THREE = THREE; // Used by APP Scripts.
2828
window.VRButton = VRButton; // Used by APP Scripts.
2929

30-
THREE.ColorManagement.legacyMode = false;
30+
THREE.ColorManagement.enabled = true;
3131

3232
var loader = new THREE.FileLoader();
3333
loader.load( 'app.json', function ( text ) {

0 commit comments

Comments
 (0)