diff options
author | Diva Canto | 2011-06-10 09:17:06 -0700 |
---|---|---|
committer | Diva Canto | 2011-06-10 09:17:06 -0700 |
commit | eeac2275c9f8a826e8612c64241daeb2ace1d866 (patch) | |
tree | dcd8a3d415f2596bff6b7bcc1b0650c7cea62f10 /OpenSim | |
parent | New method for resetting the map on HG: do it only once upon changing grids, ... (diff) | |
parent | partial update for new mesh asset format - handle both old and new formats fo... (diff) | |
download | opensim-SC_OLD-eeac2275c9f8a826e8612c64241daeb2ace1d866.zip opensim-SC_OLD-eeac2275c9f8a826e8612c64241daeb2ace1d866.tar.gz opensim-SC_OLD-eeac2275c9f8a826e8612c64241daeb2ace1d866.tar.bz2 opensim-SC_OLD-eeac2275c9f8a826e8612c64241daeb2ace1d866.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/RegionStore.migrations | 16 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 11 | ||||
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 6 |
3 files changed, 31 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations index ba8d538..987625b 100644 --- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations | |||
@@ -826,3 +826,19 @@ ALTER TABLE `prims` MODIFY COLUMN `CreatorID` VARCHAR(255) NOT NULL DEFAULT ''; | |||
826 | ALTER TABLE `primitems` MODIFY COLUMN `CreatorID` VARCHAR(255) NOT NULL DEFAULT ''; | 826 | ALTER TABLE `primitems` MODIFY COLUMN `CreatorID` VARCHAR(255) NOT NULL DEFAULT ''; |
827 | 827 | ||
828 | COMMIT; | 828 | COMMIT; |
829 | |||
830 | :VERSION 38 #--------------------- | ||
831 | |||
832 | BEGIN; | ||
833 | |||
834 | alter table land ENGINE = MyISAM; | ||
835 | alter table landaccesslist ENGINE = MyISAM; | ||
836 | alter table migrations ENGINE = MyISAM; | ||
837 | alter table primitems ENGINE = MyISAM; | ||
838 | alter table prims ENGINE = MyISAM; | ||
839 | alter table primshapes ENGINE = MyISAM; | ||
840 | alter table regionban ENGINE = MyISAM; | ||
841 | alter table regionsettings ENGINE = MyISAM; | ||
842 | alter table terrain ENGINE = MyISAM; | ||
843 | |||
844 | COMMIT; \ No newline at end of file | ||
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index cdb4e41..a078291 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1504,7 +1504,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1504 | } | 1504 | } |
1505 | 1505 | ||
1506 | /// <summary> | 1506 | /// <summary> |
1507 | /// | 1507 | /// Handle a prim description set request from a viewer. |
1508 | /// </summary> | 1508 | /// </summary> |
1509 | /// <param name="primLocalID"></param> | 1509 | /// <param name="primLocalID"></param> |
1510 | /// <param name="description"></param> | 1510 | /// <param name="description"></param> |
@@ -1521,8 +1521,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
1521 | } | 1521 | } |
1522 | } | 1522 | } |
1523 | 1523 | ||
1524 | /// <summary> | ||
1525 | /// Set a click action for the prim. | ||
1526 | /// </summary> | ||
1527 | /// <param name="remoteClient"></param> | ||
1528 | /// <param name="primLocalID"></param> | ||
1529 | /// <param name="clickAction"></param> | ||
1524 | protected internal void PrimClickAction(IClientAPI remoteClient, uint primLocalID, string clickAction) | 1530 | protected internal void PrimClickAction(IClientAPI remoteClient, uint primLocalID, string clickAction) |
1525 | { | 1531 | { |
1532 | // m_log.DebugFormat( | ||
1533 | // "[SCENEGRAPH]: User {0} set click action for {1} to {2}", remoteClient.Name, primLocalID, clickAction); | ||
1534 | |||
1526 | SceneObjectGroup group = GetGroupByPrim(primLocalID); | 1535 | SceneObjectGroup group = GetGroupByPrim(primLocalID); |
1527 | if (group != null) | 1536 | if (group != null) |
1528 | { | 1537 | { |
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index f89b824..99b2d84 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -303,7 +303,11 @@ namespace OpenSim.Region.Physics.Meshing | |||
303 | if (meshOsd is OSDMap) | 303 | if (meshOsd is OSDMap) |
304 | { | 304 | { |
305 | OSDMap map = (OSDMap)meshOsd; | 305 | OSDMap map = (OSDMap)meshOsd; |
306 | OSDMap physicsParms = (OSDMap)map["physics_shape"]; | 306 | OSDMap physicsParms = (OSDMap)map["physics_shape"]; // old asset format |
307 | |||
308 | if (physicsParms.Count == 0) | ||
309 | physicsParms = (OSDMap)map["physics_mesh"]; // new asset format | ||
310 | |||
307 | int physOffset = physicsParms["offset"].AsInteger() + (int)start; | 311 | int physOffset = physicsParms["offset"].AsInteger() + (int)start; |
308 | int physSize = physicsParms["size"].AsInteger(); | 312 | int physSize = physicsParms["size"].AsInteger(); |
309 | 313 | ||