mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
dont let test mesh go to meshes inventory folder that is not displayed by
viewers
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user