mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
2first dirty version and non persistent parcel uglysky
This commit is contained in:
@@ -172,6 +172,8 @@ namespace OpenSim.Framework
|
||||
|
||||
void SetParcelObjectMaxOverride(overrideParcelMaxPrimCountDelegate overrideDel);
|
||||
void SetSimulatorObjectMaxOverride(overrideSimulatorMaxPrimCountDelegate overrideDel);
|
||||
|
||||
void StoreEnviroment(ViewerEnviroment VEnv);
|
||||
|
||||
/// <summary>
|
||||
/// Set the media url for this land parcel
|
||||
|
||||
@@ -732,6 +732,11 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
public int EnviromentVersion = -1;
|
||||
|
||||
[XmlIgnore] //this needs to be added by hand
|
||||
public ViewerEnviroment Enviroment { get; set;}
|
||||
|
||||
public LandData()
|
||||
{
|
||||
_globalID = UUID.Random();
|
||||
@@ -739,6 +744,8 @@ namespace OpenSim.Framework
|
||||
AnyAVSounds = true;
|
||||
GroupAVSounds = true;
|
||||
LastDwellTimeMS = Util.GetTimeStampMS();
|
||||
EnviromentVersion = -1;
|
||||
Enviroment = null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -804,6 +811,17 @@ namespace OpenSim.Framework
|
||||
landData._parcelAccessList.Add(newEntry);
|
||||
}
|
||||
|
||||
if (Enviroment == null)
|
||||
{
|
||||
landData.Enviroment = null;
|
||||
landData.EnviromentVersion = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
landData.Enviroment = Enviroment.Clone();
|
||||
landData.EnviromentVersion = EnviromentVersion;
|
||||
}
|
||||
|
||||
return landData;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user