fix pure Rust workspace and live-grid build
This commit is contained in:
1 parent
8658c0407e
commit
e99ee0f33d
3 files changed
+13
-8
No files matched your search
@@ -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