File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ <h1 id="website-title">Augmenta Designer (beta)</h1>
413
413
414
414
<!-- LIDARS RAYS BUTTON -->
415
415
< div id ="display-lidars-rays-button " class ="button main-button ">
416
- < span id ="display-lidars-rays-button-icon " class ="iconify main-icon " data-icon ="akar-icons:eye-open "> </ span >
416
+ < span id ="display-lidars-rays-button-icon " class ="iconify main-icon " data-icon ="akar-icons:eye-slashed "> </ span >
417
417
< p id ="display-lidars-rays-button-text "> LiDARs rays</ p >
418
418
</ div >
419
419
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class Lidar{
48
48
this . buildRays ( sizeDetected ) ;
49
49
50
50
this . lidarAppear = true ;
51
- this . toggleRaysToShape = true ;
51
+ this . toggleRaysToShape = false ;
52
52
53
53
// Initialize position and rotation
54
54
const commonPosition = new Vector3 ( this . xPos , this . zPos , this . yPos ) ;
@@ -62,6 +62,10 @@ class Lidar{
62
62
this . raysShapeHelper . rotation . z = commonRotationZ ;
63
63
this . raysShapeHelper . visible = ! this . toggleRaysToShape ;
64
64
}
65
+
66
+ if ( this . rays ) {
67
+ this . rays . visible = this . toggleRaysToShape ;
68
+ }
65
69
}
66
70
67
71
/* BUILDERS */
You can’t perform that action at this time.
0 commit comments