aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorUbitUmarov2019-09-11 13:51:43 +0100
committerUbitUmarov2019-09-11 13:51:43 +0100
commit9d6c996570377f137f93d16c388746f949b9a841 (patch)
tree11076440a1101266dda5651b5160693e25c7b8d0 /OpenSim/Services
parentdisable AvatarHoverHeight useless and viewer side broken (without SSA) (diff)
downloadopensim-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/Services')
-rw-r--r--OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs2
-rw-r--r--OpenSim/Services/Interfaces/IAgentPreferencesService.cs6
2 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
index f5e7771..18c949e 100644
--- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
@@ -116,6 +116,8 @@ namespace OpenSim.Services.Connectors.Simulation
116 try 116 try
117 { 117 {
118 OSDMap args = aCircuit.PackAgentCircuitData(ctx); 118 OSDMap args = aCircuit.PackAgentCircuitData(ctx);
119 if(ctx == null)
120 ctx = new EntityTransferContext();
119 args["context"] = ctx.Pack(); 121 args["context"] = ctx.Pack();
120 PackData(args, source, aCircuit, destination, flags); 122 PackData(args, source, aCircuit, destination, flags);
121 123
diff --git a/OpenSim/Services/Interfaces/IAgentPreferencesService.cs b/OpenSim/Services/Interfaces/IAgentPreferencesService.cs
index af92326..6d2ce8f 100644
--- a/OpenSim/Services/Interfaces/IAgentPreferencesService.cs
+++ b/OpenSim/Services/Interfaces/IAgentPreferencesService.cs
@@ -45,7 +45,7 @@ namespace OpenSim.Services.Interfaces
45 if (kvp.ContainsKey("AccessPrefs")) 45 if (kvp.ContainsKey("AccessPrefs"))
46 AccessPrefs = kvp["AccessPrefs"]; 46 AccessPrefs = kvp["AccessPrefs"];
47 if (kvp.ContainsKey("HoverHeight")) 47 if (kvp.ContainsKey("HoverHeight"))
48 HoverHeight = double.Parse(kvp["HoverHeight"]); 48 HoverHeight = float.Parse(kvp["HoverHeight"]);
49 if (kvp.ContainsKey("Language")) 49 if (kvp.ContainsKey("Language"))
50 Language = kvp["Language"]; 50 Language = kvp["Language"];
51 if (kvp.ContainsKey("LanguageIsPublic")) 51 if (kvp.ContainsKey("LanguageIsPublic"))
@@ -65,7 +65,7 @@ namespace OpenSim.Services.Interfaces
65 if (kvp.ContainsKey("AccessPrefs")) 65 if (kvp.ContainsKey("AccessPrefs"))
66 AccessPrefs = kvp["AccessPrefs"].ToString(); 66 AccessPrefs = kvp["AccessPrefs"].ToString();
67 if (kvp.ContainsKey("HoverHeight")) 67 if (kvp.ContainsKey("HoverHeight"))
68 HoverHeight = double.Parse(kvp["HoverHeight"].ToString()); 68 HoverHeight = float.Parse(kvp["HoverHeight"].ToString());
69 if (kvp.ContainsKey("Language")) 69 if (kvp.ContainsKey("Language"))
70 Language = kvp["Language"].ToString(); 70 Language = kvp["Language"].ToString();
71 if (kvp.ContainsKey("LanguageIsPublic")) 71 if (kvp.ContainsKey("LanguageIsPublic"))
@@ -95,7 +95,7 @@ namespace OpenSim.Services.Interfaces
95 public UUID PrincipalID = UUID.Zero; 95 public UUID PrincipalID = UUID.Zero;
96 public string AccessPrefs = "M"; 96 public string AccessPrefs = "M";
97 //public int GodLevel; // *TODO: Implement GodLevel (Unused by the viewer, afaict - 6/11/2015) 97 //public int GodLevel; // *TODO: Implement GodLevel (Unused by the viewer, afaict - 6/11/2015)
98 public double HoverHeight = 0.0; 98 public float HoverHeight = 0.0f;
99 public string Language = "en-us"; 99 public string Language = "en-us";
100 public bool LanguageIsPublic = true; 100 public bool LanguageIsPublic = true;
101 // DefaultObjectPermMasks 101 // DefaultObjectPermMasks