File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ class SceneManager{
570
570
const wallXPlane = new Plane ( wallXNormal , - this . wallX . position . x ) ;
571
571
const wallYPlane = new Plane ( wallYNormal , - this . wallY . position . z ) ;
572
572
573
- if ( node . toggleFrustumOrNot && node . cameraAppear )
573
+ if ( node . cameraAppear )
574
574
{
575
575
576
576
const floorRays = [ ] ;
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ class Node{
173
173
this . updateTransformation ( ) ;
174
174
175
175
// Update visibility
176
+ this . changeFrustumVisibility ( this . toggleFrustumOrNot ) ;
176
177
this . changeVisibility ( this . cameraAppear ) ;
177
178
}
178
179
@@ -227,8 +228,6 @@ class Node{
227
228
if ( this . cameraAppear ) {
228
229
if ( this . cameraPerspective ) this . cameraPerspective . visible = visible ;
229
230
if ( this . cameraPerspectiveHelper ) this . cameraPerspectiveHelper . visible = visible ;
230
- if ( this . nameText ) this . nameText . visible = visible ;
231
- if ( this . areaValueText ) this . areaValueText . visible = visible && ( this . coveredPointsAbove && this . coveredPointsAbove . length > 2 ) ;
232
231
}
233
232
234
233
}
You can’t perform that action at this time.
0 commit comments