From 602dfa006f75e2aaec6fe90efebe6d5a3853d945 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 10 一月 2022 15:33:24 +0800
Subject: [PATCH] #
---
static/js/object/CrnTask.js | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/static/js/object/CrnTask.js b/static/js/object/CrnTask.js
index fd6e317..c1e114e 100644
--- a/static/js/object/CrnTask.js
+++ b/static/js/object/CrnTask.js
@@ -141,27 +141,6 @@
})
}
- // 鍫嗗灈鏈烘湰浣撹繍鍔ㄨ建杩�
- if (that.prePosition.z !== that.position.z && false) {
- curves.push({
- start: false,
- progress: 0,
- part: 'body',
- route: new Route([
- {
- x: that.crnBody.position.x,
- y: that.crnBody.position.y,
- z: that.prePosition.z
- },
- {
- x: that.crnBody.position.x,
- y: that.crnBody.position.y,
- z: that.position.z
- }
- ])
- })
- }
-
curves.map((value, index) => {
if (that.crnNo === 1) {
// console.log(value.part + " --> " + JSON.stringify(value.route.points))
@@ -189,9 +168,6 @@
let point = curves[i].route.getPoint(curves[i].progress);
if ( point && point.x ) {
switch (curves[i].part) {
- case 'body':
- that.crnBody.position.set(point.x, point.y, point.z);
- break
case 'load':
that.crnBody.position.z = point.z + zOffset - that.crnBody.userData.crnBodyWidth/2;
that.crnLoad.position.set(point.x, point.y + yOffset0, point.z + zOffset0 - that.crnLoad.userData.crnLoadWidth/2 + 5);
--
Gitblit v1.9.1