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.

afrisby
MW 2007-09-05 21:36:55 +00:00
parent 4efc75eb66
commit aafc82cd18
1 changed files with 11 additions and 0 deletions

View File

@ -1275,6 +1275,17 @@ namespace OpenSim.Region.Environment.Scenes
this.SetTimePhase(Convert.ToInt32(cmdparams[0]));
break;
case "force-update":
Console.WriteLine("Updating all clients");
foreach(EntityBase ent in this.Entities.Values)
{
if (ent is SceneObjectGroup)
{
((SceneObjectGroup)ent).ScheduleGroupForFullUpdate();
}
}
break;
case "backup":
Backup();
break;