Skip to content

Commit f202514

Browse files
author
Jérémy Gaillard
committed
removed unused attribute
1 parent 7d7d907 commit f202514

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/Globe/TileMesh.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ define('Globe/TileMesh', [
146146

147147
TileMesh.prototype.setGeometry = function(geometry) {
148148
this.hasGeometry = true;
149-
this.cullable = true;
150149

151150

152151
this.geometry = geometry;

src/Scene/BrowseTree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ define('Scene/BrowseTree', ['Globe/TileMesh', 'THREE'], function( TileMesh, THRE
162162
for (var i = 0; i < node.children.length; i++) {
163163
var child = node.children[i];
164164
// TODO node.wait === true ---> delete child and switch to node.wait = false
165-
if (this._clean(child, level, process, camera) && ((child.level >= level && child.children.length === 0 && child.cullable && !process.checkSSE(child, camera) /*&& !node.wait*/) /*|| node.level === 2*/))
165+
if (this._clean(child, level, process, camera) && ((child.level >= level && child.children.length === 0 && !process.checkSSE(child, camera) /*&& !node.wait*/) /*|| node.level === 2*/))
166166
childrenCleaned++;
167167
}
168168

src/Scene/Node.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ define('Scene/Node', [], function() {
2424
this.screenSpaceError = 0.0;
2525
this.visible = true;
2626
this.layer = null;
27-
this.cullable = false;
2827
this.disposed = false;
2928

3029

0 commit comments

Comments
 (0)