diff options
author | Melanie | 2011-01-18 00:55:08 +0100 |
---|---|---|
committer | Melanie | 2011-01-18 01:26:42 +0000 |
commit | 75644e0f6e08e5b5866af3a44afcf1308b9513f1 (patch) | |
tree | 4f8c4fc936a051a975dff449aec1e562c65034c1 /OpenSim/Data | |
parent | Change gesture activation to not quash any other flags (diff) | |
download | opensim-SC-75644e0f6e08e5b5866af3a44afcf1308b9513f1.zip opensim-SC-75644e0f6e08e5b5866af3a44afcf1308b9513f1.tar.gz opensim-SC-75644e0f6e08e5b5866af3a44afcf1308b9513f1.tar.bz2 opensim-SC-75644e0f6e08e5b5866af3a44afcf1308b9513f1.tar.xz |
Prevent activation and deactivation of gestures from clobbering the slam
bits
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLInventoryData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLInventoryData.cs b/OpenSim/Data/MySQL/MySQLInventoryData.cs index 2dca3eb..9d70acb 100644 --- a/OpenSim/Data/MySQL/MySQLInventoryData.cs +++ b/OpenSim/Data/MySQL/MySQLInventoryData.cs | |||
@@ -867,7 +867,7 @@ namespace OpenSim.Data.MySQL | |||
867 | dbcon.Open(); | 867 | dbcon.Open(); |
868 | 868 | ||
869 | using (MySqlCommand sqlCmd = new MySqlCommand( | 869 | using (MySqlCommand sqlCmd = new MySqlCommand( |
870 | "SELECT * FROM inventoryitems WHERE avatarId = ?uuid AND assetType = ?type and flags = 1", dbcon)) | 870 | "SELECT * FROM inventoryitems WHERE avatarId = ?uuid AND assetType = ?type and flags & 1", dbcon)) |
871 | { | 871 | { |
872 | sqlCmd.Parameters.AddWithValue("?uuid", avatarID.ToString()); | 872 | sqlCmd.Parameters.AddWithValue("?uuid", avatarID.ToString()); |
873 | sqlCmd.Parameters.AddWithValue("?type", (int)AssetType.Gesture); | 873 | sqlCmd.Parameters.AddWithValue("?type", (int)AssetType.Gesture); |