Skip to content

Commit 909350e

Browse files
committed
Editor: Renamed SelectionHelper to Selector.
1 parent eb59abb commit 909350e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

editor/js/Editor.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Loader } from './Loader.js';
55
import { History as _History } from './History.js';
66
import { Strings } from './Strings.js';
77
import { Storage as _Storage } from './Storage.js';
8-
import { SelectionHelper } from './Viewport.SelectionHelper.js';
8+
import { Selector } from './Viewport.Selector.js';
99

1010
var _DEFAULT_CAMERA = new THREE.PerspectiveCamera( 50, 1, 0.01, 1000 );
1111
_DEFAULT_CAMERA.name = 'Camera';
@@ -95,7 +95,7 @@ function Editor() {
9595
this.history = new _History( this );
9696
this.storage = new _Storage();
9797
this.strings = new Strings( this.config );
98-
this.selectionHelper = new SelectionHelper( this );
98+
this.selector = new Selector( this );
9999

100100
this.loader = new Loader( this );
101101

@@ -539,7 +539,7 @@ Editor.prototype = {
539539

540540
select: function ( object ) {
541541

542-
this.selectionHelper.select( object );
542+
this.selector.select( object );
543543

544544
},
545545

@@ -574,7 +574,7 @@ Editor.prototype = {
574574

575575
deselect: function () {
576576

577-
this.selectionHelper.deselect();
577+
this.selector.deselect();
578578

579579
},
580580

editor/js/Viewport.SelectionHelper.js renamed to editor/js/Viewport.Selector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class SelectionHelper {
1+
class Selector {
22

33
constructor( editor ) {
44

@@ -66,4 +66,4 @@ class SelectionHelper {
6666

6767
}
6868

69-
export { SelectionHelper };
69+
export { Selector };

editor/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const assets = [
190190
'./js/Viewport.js',
191191
'./js/Viewport.Camera.js',
192192
'./js/Viewport.Info.js',
193-
'./js/Viewport.SelectionHelper.js',
193+
'./js/Viewport.Selector.js',
194194
'./js/Viewport.ViewHelper.js',
195195
'./js/Viewport.VR.js',
196196

0 commit comments

Comments
 (0)