makes voice setting persistent [re #552]

0.6.6-post-fixes
Dr Scofield 2009-06-10 11:05:44 +00:00
parent 783218ec89
commit 854f4f4896
1 changed files with 2 additions and 0 deletions

View File

@ -634,6 +634,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
{
parcel.landData.Flags |= (uint) Parcel.ParcelFlags.AllowVoiceChat;
parcel.landData.Flags |= (uint) Parcel.ParcelFlags.UseEstateVoiceChan;
((Scene)newscene).LandChannel.UpdateLandObject(parcel.landData.LocalID, parcel.landData);
}
}
@ -797,6 +798,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
parcel.landData.Flags &= ~(uint)Parcel.ParcelFlags.AllowVoiceChat;
parcel.landData.Flags &= ~(uint)Parcel.ParcelFlags.UseEstateVoiceChan;
}
scene.LandChannel.UpdateLandObject(parcel.landData.LocalID, parcel.landData);
}
}