feat: stabilize OpenSim interactions and landmarks
This commit is contained in:
@@ -313,6 +313,14 @@ impl LibremetaverseClientOwner {
|
||||
|
||||
#[cfg(feature = "live-grid")]
|
||||
impl LibremetaverseWorldSnapshotSource {
|
||||
#[must_use]
|
||||
pub fn current_region_handle(&self) -> Option<u64> {
|
||||
self.client
|
||||
.network()
|
||||
.native_current_sim()
|
||||
.map(|simulator| simulator.handle)
|
||||
}
|
||||
|
||||
// One atomic projection keeps native cache reads together. Terrain lookup
|
||||
// takes integral local coordinates, so finite region positions are floored.
|
||||
#[allow(clippy::too_many_lines, clippy::cast_possible_truncation)]
|
||||
|
||||
Reference in New Issue
Block a user