From 73380a4c081dcde990150b585869a8628e86e49c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 15 十月 2024 12:45:12 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/tool.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/zy-acs-flow/src/map/tool.js b/zy-acs-flow/src/map/tool.js index 18ba33e..32a0124 100644 --- a/zy-acs-flow/src/map/tool.js +++ b/zy-acs-flow/src/map/tool.js @@ -101,7 +101,7 @@ default: break; } - if (sprite) { + if (sprite && deviceType !== DEVICE_TYPE.AGV) { sprite.blendMode = PIXI.BLEND_MODES.MULTIPLY; } return sprite; @@ -471,7 +471,9 @@ initSprite(agvSprite, DEVICE_TYPE.AGV); agvSprite.data.no = agvNo; agvSprite.position.set(codeSprite.position.x, codeSprite.position.y); + agvSprite.rotation = rotationParseNum(direction); mapContainer.addChild(agvSprite); // viewFeature(shuttle, setCurSPrite); // todo + // agv no on sprite } } \ No newline at end of file -- Gitblit v1.9.1