mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
add GetLocalRegionByName to GridServicesConnector plus cosmetics
This commit is contained in:
@@ -71,7 +71,6 @@ namespace OpenSim.Region.ClientStack.LindenCaps
|
||||
lock (m_scenes)
|
||||
m_scenes.Remove(scene);
|
||||
scene.EventManager.OnRegisterCaps -= RegisterCaps;
|
||||
scene = null;
|
||||
}
|
||||
|
||||
public void RegionLoaded(Scene scene)
|
||||
@@ -79,8 +78,7 @@ namespace OpenSim.Region.ClientStack.LindenCaps
|
||||
scene.EventManager.OnRegisterCaps += RegisterCaps;
|
||||
|
||||
ISimulatorFeaturesModule simFeatures = scene.RequestModuleInterface<ISimulatorFeaturesModule>();
|
||||
if(simFeatures != null)
|
||||
simFeatures.AddFeature("AvatarHoverHeightEnabled",OSD.FromBoolean(true));
|
||||
simFeatures?.AddFeature("AvatarHoverHeightEnabled",OSD.FromBoolean(true));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user