diff options
author | MW | 2007-11-16 13:39:11 +0000 |
---|---|---|
committer | MW | 2007-11-16 13:39:11 +0000 |
commit | 483377adaedefb12f19b3f843dbabfd7b545bf90 (patch) | |
tree | ceddc3cadc6d933e9964ad2ca2d694ca11452511 /OpenSim/Region/Storage | |
parent | fixed some AssemblyInfo files (diff) | |
download | opensim-SC-483377adaedefb12f19b3f843dbabfd7b545bf90.zip opensim-SC-483377adaedefb12f19b3f843dbabfd7b545bf90.tar.gz opensim-SC-483377adaedefb12f19b3f843dbabfd7b545bf90.tar.bz2 opensim-SC-483377adaedefb12f19b3f843dbabfd7b545bf90.tar.xz |
More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode.
Diffstat (limited to 'OpenSim/Region/Storage')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index e49e225..a9fb869 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -709,22 +709,9 @@ namespace OpenSim.DataStore.MonoSqlite | |||
709 | row["ProfileEnd"] = s.ProfileEnd; | 709 | row["ProfileEnd"] = s.ProfileEnd; |
710 | row["ProfileCurve"] = s.ProfileCurve; | 710 | row["ProfileCurve"] = s.ProfileCurve; |
711 | row["ProfileHollow"] = s.ProfileHollow; | 711 | row["ProfileHollow"] = s.ProfileHollow; |
712 | // text TODO: this isn't right] = but I'm not sure the right | ||
713 | // way to specify this as a blob atm | ||
714 | 712 | ||
715 | // And I couldn't work out how to save binary data either | ||
716 | // seems that the texture colum is being treated as a string in the Datarow | ||
717 | // if you do a .getType() on it, it returns string, while the other columns return correct type | ||
718 | // MW[10-08-07] | ||
719 | // Added following xml hack but not really ideal , also ExtraParams isn't currently part of the database | ||
720 | // am a bit worried about adding it now as some people will have old format databases, so for now including that data in this xml data | ||
721 | // MW[17-08-07] | ||
722 | row["Texture"] = s.TextureEntry; | 713 | row["Texture"] = s.TextureEntry; |
723 | row["ExtraParams"] = s.ExtraParams; | 714 | row["ExtraParams"] = s.ExtraParams; |
724 | // TextureBlock textureBlock = new TextureBlock(s.TextureEntry); | ||
725 | // textureBlock.ExtraParams = s.ExtraParams; | ||
726 | // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); | ||
727 | // row["Texture"] = encoding.GetBytes(textureBlock.ToXMLString()); | ||
728 | } | 715 | } |
729 | 716 | ||
730 | private void addPrim(SceneObjectPart prim, LLUUID sceneGroupID, LLUUID regionUUID) | 717 | private void addPrim(SceneObjectPart prim, LLUUID sceneGroupID, LLUUID regionUUID) |