mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
prop use
This commit is contained in:
parent
43d1d36b6a
commit
d55bbc535c
@ -1380,7 +1380,7 @@ export class Planet extends RenderNode {
|
||||
cam.checkFly();
|
||||
|
||||
// free memory
|
||||
if (this._createdNodesCount > MAX_NODES && this._distBeforeMemClear > this._minDistanceBeforeMemClear) {
|
||||
if (this._createdNodesCount > this._maxNodes && this._distBeforeMemClear > this._minDistanceBeforeMemClear) {
|
||||
this.terrain!.clearCache();
|
||||
this.memClear();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user