林炳权 2 лет назад
Родитель
Сommit
fbc28ae0c5
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/textures/Source.js

+ 2 - 2
src/textures/Source.js

@@ -1,7 +1,7 @@
 import { ImageUtils } from '../extras/ImageUtils.js';
 import { ImageUtils } from '../extras/ImageUtils.js';
 import * as MathUtils from '../math/MathUtils.js';
 import * as MathUtils from '../math/MathUtils.js';
 
 
-let sourceId = 0;
+let _sourceId = 0;
 
 
 class Source {
 class Source {
 
 
@@ -9,7 +9,7 @@ class Source {
 
 
 		this.isSource = true;
 		this.isSource = true;
 
 
-		Object.defineProperty( this, 'id', { value: sourceId ++ } );
+		Object.defineProperty( this, 'id', { value: _sourceId ++ } );
 
 
 		this.uuid = MathUtils.generateUUID();
 		this.uuid = MathUtils.generateUUID();
 
 

粤ICP备19079148号