fix pure Rust workspace and live-grid build
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user