From 4c43d7b83b97815d8c48526b4edbd993d28e07bf Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 28 二月 2023 13:40:33 +0800
Subject: [PATCH] #
---
static/js/app.js | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/static/js/app.js b/static/js/app.js
index 342fce7..cf1bd8b 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -73,7 +73,6 @@
this.queryCrn();
this.crnMove();
this.querySta();
- this.staChange();
}
this.initScene = function () {
this.scene = new THREE.Scene();
@@ -142,7 +141,7 @@
this.scene.background = new THREE.Color( 0x333333 );
} else {
const cubeTextureLoader = new THREE.CubeTextureLoader();
- cubeTextureLoader.setPath( '../static/img/skybox0/' );
+ cubeTextureLoader.setPath( '../static/img/skybox/' );
this.scene.background = cubeTextureLoader.load([
"px.jpg", "nx.jpg",
"py.jpg", "ny.jpg",
@@ -370,16 +369,11 @@
if (null == staTask) {
this.staTasks.push(new StaTask(staData, this));
} else {
- if(!staTask.run) {
+ if(!staTask.run && !staTask.isDel) {
staTask.modify(staData);
}
}
}
- }
- }
- this.staChange = function () {
- for (let staTask of this.staTasks) {
- staTask.change();
}
}
--
Gitblit v1.9.1