From 02bf4e35833eb2198caf76b7d7e1c6eb66951cb0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 07 三月 2023 13:59:09 +0800
Subject: [PATCH] #

---
 static/js/app.js       |    5 -----
 /dev/null              |   43 -------------------------------------------
 static/js/data/Asrs.js |    4 ----
 3 files changed, 0 insertions(+), 52 deletions(-)

diff --git a/static/js/app.js b/static/js/app.js
index 7a4c8ef..cf1bd8b 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -13,7 +13,6 @@
 import {StoreConvey} from './object/StoreConvey.js';
 import {StoreGoods} from './object/StoreGoods.js';
 import {StaTask} from './object/StaTask.js';
-import {DefineModel} from './object/DefineModel.js'
 
 var APP = {
 
@@ -57,7 +56,6 @@
 			this.initObjectSelect();
 			this.initPointLockControl(this);
 			this.initFloor();
-			this.initDefineModel();
 			this.initBuilding();
 			this.initConvey();
 		}
@@ -311,9 +309,6 @@
 			this.addObject( helper );
 
 			// this.addObject(new Floor({position: {}}))
-		}
-		this.initDefineModel = () => {
-			const model = new DefineModel(this);
 		}
 		this.initBuilding = function () {
 			let buildingData = buildingObjects.objects;
diff --git a/static/js/data/Asrs.js b/static/js/data/Asrs.js
index 217fde7..57ea068 100644
--- a/static/js/data/Asrs.js
+++ b/static/js/data/Asrs.js
@@ -6,10 +6,6 @@
     queryStaCurrent();
 },1000);
 
-setTimeout(() => {
-    clearInterval(interval)
-}, 1000)
-
 var Store3DData;
 function initStore() {
     $.ajax({
diff --git a/static/js/object/DefineModel.js b/static/js/object/DefineModel.js
deleted file mode 100644
index cb46f1b..0000000
--- a/static/js/object/DefineModel.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import { FBXLoader } from '../lib/FBXLoader.js';
-
-export class DefineModel {
-
-    object;
-    mixer;
-
-    constructor(object) {
-        let that = this;
-        that.object = object;
-        that.mixer;
-        const loader = new FBXLoader();
-        // loader.load( '../static/model/fbx/fbxDemo.fbx', function ( object ) {
-        loader.load( '../static/model/fbx/Samba Dancing.fbx', function ( object ) {
-
-            that.mixer = new THREE.AnimationMixer( object );
-
-            const action = that.mixer.clipAction( object.animations[ 0 ] );
-            action.play();
-
-            object.traverse( function ( child ) {
-
-                if ( child.isMesh ) {
-
-                    child.castShadow = true;
-                    child.receiveShadow = true;
-                    child.material = new THREE.MeshLambertMaterial({
-                        color: 0xCD6839
-                    });
-                }
-
-            } );
-
-            that.object.addObject( object );
-
-        } );
-
-
-    }
-
-
-
-}

--
Gitblit v1.9.1