dont let test mesh go to meshes inventory folder that is not displayed by

viewers
avinationmerge
UbitUmarov 2014-10-11 11:12:43 +01:00
parent dab2e778d6
commit cc71dd9a27
1 changed files with 3 additions and 1 deletions

View File

@ -920,7 +920,9 @@ namespace OpenSim.Region.ClientStack.Linden
meshitem.Name = name;
meshitem.AssetType = (int)AssetType.Mesh;
meshitem.InvType = (int)InventoryType.Mesh;
meshitem.Folder = UUID.Zero; // send to default
// meshitem.Folder = UUID.Zero; // send to default
meshitem.Folder = parentFolder; // dont let it go to folder Meshes that viewers dont show
// If we set PermissionMask.All then when we rez the item the next permissions will replace the current
// (owner) permissions. This becomes a problem if next permissions are changed.