mirror of
https://github.com/beestat/app.git
synced 2026-02-26 05:00:21 -05:00
Debug
This commit is contained in:
parent
6ae5fa2568
commit
1c714aa05b
@ -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
|
||||
|
||||
@ -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_ = [];
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user