Thank you, Teravus for: Solution for 'after using physical prim with MonoSqliteDataStore, the sim lags with constantly updating assets.". This mostly affects BulletX.
parent
76aa5b81b0
commit
7eff1572cb
|
@ -579,7 +579,11 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
AddTerseUpdateToAllAvatars();
|
||||
ClearUpdateSchedule();
|
||||
ScheduleTerseUpdate();
|
||||
if ((ObjectFlags & (uint)LLObject.ObjectFlags.Physics) != 0)
|
||||
{
|
||||
// Only send the constant terse updates on physical objects!
|
||||
ScheduleTerseUpdate();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -125,8 +125,15 @@ namespace OpenSim.DataStore.MonoSqlite
|
|||
{
|
||||
foreach (SceneObjectPart prim in obj.Children.Values)
|
||||
{
|
||||
MainLog.Instance.Verbose("DATASTORE", "Adding obj: " + obj.UUID + " to region: " + regionUUID);
|
||||
addPrim(prim, obj.UUID, regionUUID);
|
||||
if ((prim.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) == 0)
|
||||
{
|
||||
MainLog.Instance.Verbose("DATASTORE", "Adding obj: " + obj.UUID + " to region: " + regionUUID);
|
||||
addPrim(prim, obj.UUID, regionUUID);
|
||||
}
|
||||
else
|
||||
{
|
||||
MainLog.Instance.Verbose("DATASTORE", "Ignoring Physical obj: " + obj.UUID + " in region: " + regionUUID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1026,4 +1033,4 @@ namespace OpenSim.DataStore.MonoSqlite
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue