Fix GNOME issue where supplemental position double-counts the lens distance, v2.8.6

This commit is contained in:
wheaney 2026-02-22 08:24:20 -08:00
parent 845d1c9a99
commit 749b7b22e1
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
2.8.5
2.8.6

View File

@ -581,10 +581,10 @@ export const VirtualDisplayEffect = GObject.registerClass({
this.set_uniform_float(this.get_uniform_location("u_look_ahead_cfg"), 4, Globals.data_stream.device_data.lookAheadCfg);
this.set_uniform_float(this.get_uniform_location("u_actor_to_display_ratios"), 2, this.actor_to_display_ratios);
this.set_uniform_float(this.get_uniform_location("u_actor_to_display_offsets"), 2, this.actor_to_display_offsets);
this.set_uniform_float(this.get_uniform_location("u_lens_vector"), 3, this.pose_has_position ? [0.0, 0.0, 0.0] : this.lens_vector);
this._update_display_position();
this._handle_banner_update();
}
this.set_uniform_float(this.get_uniform_location("u_lens_vector"), 3, this.pose_has_position ? [0.0, 0.0, 0.0] : this.lens_vector);
if (this.imu_snapshots && !this.show_banner) {
let lookAheadSet = false;