From f1b81cabbcc35ab8f3f871ea13c65af33e2c42a4 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期三, 22 十二月 2021 09:10:12 +0800 Subject: [PATCH] # --- static/js/app.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index ff2244a..79b5599 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -158,7 +158,7 @@ this.scene.background = new THREE.Color( 0xf0f0f0 ); } else { const cubeTextureLoader = new THREE.CubeTextureLoader(); - cubeTextureLoader.setPath( '../static/img/skybox/' ); + cubeTextureLoader.setPath( '../static/img/skybox0/' ); this.scene.background = cubeTextureLoader.load([ "px.jpg", "nx.jpg", "py.jpg", "ny.jpg", @@ -326,7 +326,6 @@ } this.initStoreObjects = function (object) { if (this.firstTime === 1) { - // initStore(); if (Store3DData !== undefined && Store3DData !== null) { for(var group of Store3DData.data.store.groups) { new StoreCrn(group.crn, object); @@ -354,7 +353,7 @@ } } this.queryCrn = function () { - if (CrnDatas !== null) { + if (CrnDatas !== null && this.firstTime === 0) { for (let crnData of CrnDatas) { let crnTask = getArrVal(this.crnTasks, "crnNo", crnData.crnNo); if (null == crnTask) { -- Gitblit v1.9.1