mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Move Telehub tables and data from EstateSettings to RegionSettings.
This is damage control es EstateSettings is not the place this can be put. EstateSettings is nt unique to a region and therefore would introduce a hard limit of one telehub per estate, completely shutting off the option of having SL style telehubs, e.g. one per region. Whole estate teleport routing can still be implemented id desiresd, this way all options are open while the other way most options get closed off.
This commit is contained in:
@@ -841,4 +841,28 @@ alter table regionban ENGINE = MyISAM;
|
||||
alter table regionsettings ENGINE = MyISAM;
|
||||
alter table terrain ENGINE = MyISAM;
|
||||
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
|
||||
:VERSION 39 #--------------- Telehub support
|
||||
|
||||
BEGIN;
|
||||
CREATE TABLE IF NOT EXISTS `spawn_points` (
|
||||
`RegionID` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`PointX` float NOT NULL,
|
||||
`PointY` float NOT NULL,
|
||||
`PointZ` float NOT NULL,
|
||||
KEY `EstateID` (`EstateID`)
|
||||
) ENGINE=Innodb;
|
||||
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubObject` varchar(36) NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubName` varchar(255) NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubEnabled` tinyint(4) NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubPosX` float NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubPosY` float NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubPosZ` float NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubRotX` float NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubRotY` float NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubRotZ` float NOT NULL;
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TelehubRotW` float NOT NULL;
|
||||
COMMIT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user