aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMW2007-09-05 21:36:55 +0000
committerMW2007-09-05 21:36:55 +0000
commitaafc82cd186dfb4a344fca8a37ed237f7c562903 (patch)
tree925396f0b8c80eb83f2ad6363004afa3112b8a90 /OpenSim/Region
parentAdded "Local" and "Temporary" Fields to the AssetBase class. (diff)
downloadopensim-SC_OLD-aafc82cd186dfb4a344fca8a37ed237f7c562903.zip
opensim-SC_OLD-aafc82cd186dfb4a344fca8a37ed237f7c562903.tar.gz
opensim-SC_OLD-aafc82cd186dfb4a344fca8a37ed237f7c562903.tar.bz2
opensim-SC_OLD-aafc82cd186dfb4a344fca8a37ed237f7c562903.tar.xz
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 '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs11
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;