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.
parent
4efc75eb66
commit
aafc82cd18
|
@ -1275,6 +1275,17 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
this.SetTimePhase(Convert.ToInt32(cmdparams[0]));
|
this.SetTimePhase(Convert.ToInt32(cmdparams[0]));
|
||||||
break;
|
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":
|
case "backup":
|
||||||
Backup();
|
Backup();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue