diff --git a/js/component/card/three_d.js b/js/component/card/three_d.js index 86ee3e9..368a1b6 100644 --- a/js/component/card/three_d.js +++ b/js/component/card/three_d.js @@ -372,9 +372,10 @@ beestat.component.card.three_d.prototype.decorate_drawing_pane_ = function(paren this.update_scene_(); this.scene_.render($(parent)); - // Debug: lock initial time to noon for faster visual iteration. - const current_hour = 12; - const current_minute = 0; + // Use current local time of day for initial scene lighting. + const now = moment(); + const current_hour = now.hour(); + const current_minute = now.minute(); if (beestat.setting('visualize.range_type') === 'dynamic') { // Set the date, then apply current time of day diff --git a/js/component/scene.js b/js/component/scene.js index 17cc069..0732893 100644 --- a/js/component/scene.js +++ b/js/component/scene.js @@ -3778,7 +3778,7 @@ beestat.component.scene.prototype.create_round_tree_ = function(height, max_diam }; }; const branch_height_samples = []; - const recursive_depth_limit = 2; + const recursive_depth_limit = 1; const children_per_branch = 2; if (foliage_enabled === true && this.tree_foliage_meshes_ === undefined) { this.tree_foliage_meshes_ = []; diff --git a/js/layer/load.js b/js/layer/load.js index 457c3a0..5d16f24 100644 --- a/js/layer/load.js +++ b/js/layer/load.js @@ -311,7 +311,7 @@ beestat.layer.load.prototype.decorate_ = function(parent) { if (window.location.href.indexOf('glenwood') !== -1) { (new beestat.layer.glenwood_enroll()).render(); } else { - (new beestat.layer.visualize()).render(); + (new beestat.layer.detail()).render(); } beestat.ecobee.notify_if_down();