mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
Reattaching a region was failing if the estate name had not changed (issue 5035).
Using the RemoteAdmin API to close then recreate a region would fail if the estate name had not changed. If the estate name /was/ changed then the existing estate would be renamed rather than a new one being created. The problem really arose from a lack of distinction in the data storage layer between creating new estates and loading existing ones.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
9046651583
commit
1458fab82c
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Copyright (c) Contributors, http://opensimulator.org/
|
||||
* See CONTRIBUTORS.TXT for a full list of copyright holders.
|
||||
*
|
||||
@@ -90,6 +90,11 @@ namespace OpenSim.Services.Connectors
|
||||
{
|
||||
return m_database.LoadEstateSettings(estateID);
|
||||
}
|
||||
|
||||
public EstateSettings CreateNewEstate()
|
||||
{
|
||||
return m_database.CreateNewEstate();
|
||||
}
|
||||
|
||||
public List<EstateSettings> LoadEstateSettingsAll()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user