diff options
Added "force-update" console command (when a region is set as active), which forces the region to send updates of all the prims to all clients. Not sure how well this is going to work with a few users on at the same time, but it might work as a temporary hack to relieve the problem of missing prims.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 3ea9678..f0acf52 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1275,6 +1275,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
1275 | this.SetTimePhase(Convert.ToInt32(cmdparams[0])); | 1275 | this.SetTimePhase(Convert.ToInt32(cmdparams[0])); |
1276 | break; | 1276 | break; |
1277 | 1277 | ||
1278 | case "force-update": | ||
1279 | Console.WriteLine("Updating all clients"); | ||
1280 | foreach(EntityBase ent in this.Entities.Values) | ||
1281 | { | ||
1282 | if (ent is SceneObjectGroup) | ||
1283 | { | ||
1284 | ((SceneObjectGroup)ent).ScheduleGroupForFullUpdate(); | ||
1285 | } | ||
1286 | } | ||
1287 | break; | ||
1288 | |||
1278 | case "backup": | 1289 | case "backup": |
1279 | Backup(); | 1290 | Backup(); |
1280 | break; | 1291 | break; |