mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Fixed the problem of prims not being loaded from the database (that my last commit created).
This commit is contained in:
@@ -363,7 +363,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
/// </summary>
|
||||
public void ScheduleFullUpdate()
|
||||
{
|
||||
m_parentGroup.HasChanged = true;
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
m_parentGroup.HasChanged = true;
|
||||
}
|
||||
m_updateFlag = 2;
|
||||
}
|
||||
|
||||
@@ -374,7 +377,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
if (m_updateFlag < 1)
|
||||
{
|
||||
m_parentGroup.HasChanged = true;
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
m_parentGroup.HasChanged = true;
|
||||
}
|
||||
m_updateFlag = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user