aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps
diff options
context:
space:
mode:
authorUbitUmarov2014-10-11 11:12:43 +0100
committerUbitUmarov2014-10-11 11:12:43 +0100
commitcc71dd9a278ffe79668336db11fb768ce881fd18 (patch)
tree3d2754985027fd68dd96584012abfbb29cdcfb17 /OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps
parent bug fix (diff)
downloadopensim-SC-cc71dd9a278ffe79668336db11fb768ce881fd18.zip
opensim-SC-cc71dd9a278ffe79668336db11fb768ce881fd18.tar.gz
opensim-SC-cc71dd9a278ffe79668336db11fb768ce881fd18.tar.bz2
opensim-SC-cc71dd9a278ffe79668336db11fb768ce881fd18.tar.xz
dont let test mesh go to meshes inventory folder that is not displayed by
viewers
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
index 133a629..344df2b 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
@@ -920,7 +920,9 @@ namespace OpenSim.Region.ClientStack.Linden
920 meshitem.Name = name; 920 meshitem.Name = name;
921 meshitem.AssetType = (int)AssetType.Mesh; 921 meshitem.AssetType = (int)AssetType.Mesh;
922 meshitem.InvType = (int)InventoryType.Mesh; 922 meshitem.InvType = (int)InventoryType.Mesh;
923 meshitem.Folder = UUID.Zero; // send to default 923 // meshitem.Folder = UUID.Zero; // send to default
924
925 meshitem.Folder = parentFolder; // dont let it go to folder Meshes that viewers dont show
924 926
925 // If we set PermissionMask.All then when we rez the item the next permissions will replace the current 927 // If we set PermissionMask.All then when we rez the item the next permissions will replace the current
926 // (owner) permissions. This becomes a problem if next permissions are changed. 928 // (owner) permissions. This becomes a problem if next permissions are changed.