|
@@ -2771,11 +2771,18 @@ export default {
|
|
|
if(messages.length > 0){
|
|
|
messages.forEach((item)=>{
|
|
|
if(item.surroundGrid != null&&item.surroundGrid.length > 0){
|
|
|
- data = data.concat(item.surroundGrid);
|
|
|
+ if(ShowMovePointCube) {
|
|
|
+ data = data.concat(item.surroundGrid);
|
|
|
+ }else {
|
|
|
+ item.surroundGrid.forEach((index)=>{
|
|
|
+ if(index.color[0] =1 && index.color[1] == 0 && index.color[2] == 0){
|
|
|
+ data.push(index)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
points.push([item.x,item.y,item.z])
|
|
|
})
|
|
|
- if(ShowMovePointCube){
|
|
|
if(data.length > 0){
|
|
|
showThreeCubeDetail({
|
|
|
"id":"movePointCube",
|
|
@@ -2790,7 +2797,6 @@ export default {
|
|
|
"depthTest":false
|
|
|
})
|
|
|
}
|
|
|
- }
|
|
|
if(points.length > 0){
|
|
|
addLightBall({
|
|
|
id:"ball",
|