diff options
author | UbitUmarov | 2019-09-11 13:51:43 +0100 |
---|---|---|
committer | UbitUmarov | 2019-09-11 13:51:43 +0100 |
commit | 9d6c996570377f137f93d16c388746f949b9a841 (patch) | |
tree | 11076440a1101266dda5651b5160693e25c7b8d0 /OpenSim/Region/Framework | |
parent | disable AvatarHoverHeight useless and viewer side broken (without SSA) (diff) | |
download | opensim-SC-9d6c996570377f137f93d16c388746f949b9a841.zip opensim-SC-9d6c996570377f137f93d16c388746f949b9a841.tar.gz opensim-SC-9d6c996570377f137f93d16c388746f949b9a841.tar.bz2 opensim-SC-9d6c996570377f137f93d16c388746f949b9a841.tar.xz |
extent supported number of avatar textures/bakes/wearables, tell viewers about it on lludp RegionHandShake; propagate agenthover; block teleports/crossings based on worn wearables and peer version;
Diffstat (limited to 'OpenSim/Region/Framework')
-rwxr-xr-x | OpenSim/Region/Framework/Interfaces/IAvatarFactoryModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAvatarFactoryModule.cs b/OpenSim/Region/Framework/Interfaces/IAvatarFactoryModule.cs index 800affe..8faf4a8 100755 --- a/OpenSim/Region/Framework/Interfaces/IAvatarFactoryModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IAvatarFactoryModule.cs | |||
@@ -37,7 +37,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
37 | { | 37 | { |
38 | void SetAppearance(IScenePresence sp, AvatarAppearance appearance, WearableCacheItem[] cacheItems); | 38 | void SetAppearance(IScenePresence sp, AvatarAppearance appearance, WearableCacheItem[] cacheItems); |
39 | void SetAppearance(IScenePresence sp, Primitive.TextureEntry textureEntry, byte[] visualParams, WearableCacheItem[] cacheItems); | 39 | void SetAppearance(IScenePresence sp, Primitive.TextureEntry textureEntry, byte[] visualParams, WearableCacheItem[] cacheItems); |
40 | 40 | void SetPreferencesHoverZ(UUID agentId, float val); | |
41 | /// <summary> | 41 | /// <summary> |
42 | /// Send the appearance of an avatar to others in the scene. | 42 | /// Send the appearance of an avatar to others in the scene. |
43 | /// </summary> | 43 | /// </summary> |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d53c562..9db7633 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4358,16 +4358,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4358 | 4358 | ||
4359 | public void SendAppearanceToAgentNF(ScenePresence avatar) | 4359 | public void SendAppearanceToAgentNF(ScenePresence avatar) |
4360 | { | 4360 | { |
4361 | if(avatar.UUID == UUID) | 4361 | avatar.ControllingClient.SendAppearance(UUID, Appearance.VisualParams, Appearance.Texture.GetBakesBytes(), Appearance.AvatarPreferencesHoverZ); |
4362 | { | ||
4363 | avatar.ControllingClient.SendAppearance( | ||
4364 | UUID, Appearance.VisualParams, Appearance.Texture.GetBytes()); | ||
4365 | } | ||
4366 | else | ||
4367 | { | ||
4368 | avatar.ControllingClient.SendAppearance( | ||
4369 | UUID, Appearance.VisualParams, Appearance.Texture.GetBakesBytes()); | ||
4370 | } | ||
4371 | } | 4362 | } |
4372 | 4363 | ||
4373 | public void SendAnimPackToAgent(ScenePresence p) | 4364 | public void SendAnimPackToAgent(ScenePresence p) |