fix pure Rust workspace and live-grid build
Some checks failed
CI / rust-skia (Rust only) (push) Successful in 2m45s
CI / required (push) Failing after 1m59s

This commit is contained in:
2026-08-18 09:46:58 +02:00
parent 8658c0407e
commit e99ee0f33d
3 changed files with 13 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
[package]
name = "libremetaverse-openjpeg"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
version = "0.0.1"
edition = "2024"
rust-version = "1.97.1"
license = "BSD-3-Clause"
repository = "https://git.rfc1437.de/hugo/MetaCrate"
description = "Safe, bounded OpenJPEG 2.5.4 adapter for MetaCrate"
build = "build.rs"

View File

@@ -409,8 +409,13 @@ impl LibremetaverseWorldSnapshotSource {
area: Some(parcel.area),
category: Some(format!("{:?}", parcel.category)),
});
if let Some(data) = self.client.environment().environment() {
// Calling `environment()` reads the manager's last received value.
if let Some(data) = self
.client
.environment()
.region_environment()
.and_then(|message| message.environment())
{
// Read the environment data from the manager's last region message.
let _ = data.day_cycle();
}
let mut terrain_height = 0.0;