fix pure Rust workspace and live-grid build
This commit is contained in:
@@ -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