AssetManager.AssetType.Primitive seems misnamed and causes SL client to ignore inventory objects Mantis #208 patch from DrScofield
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1714 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -32,7 +32,7 @@ namespace libsecondlife
|
||||
Clothing = 5,
|
||||
/// <summary>Primitive that can contain textures, sounds,
|
||||
/// scripts and more</summary>
|
||||
Primitive = 6,
|
||||
Object = 6,
|
||||
/// <summary>Notecard asset</summary>
|
||||
Notecard = 7,
|
||||
/// <summary>Holds a collection of inventory items</summary>
|
||||
@@ -702,7 +702,7 @@ namespace libsecondlife
|
||||
case AssetType.Texture:
|
||||
asset = new AssetTexture();
|
||||
break;
|
||||
case AssetType.Primitive:
|
||||
case AssetType.Object:
|
||||
asset = new AssetPrim();
|
||||
break;
|
||||
case AssetType.Clothing:
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace libsecondlife
|
||||
|
||||
public class AssetPrim : Asset
|
||||
{
|
||||
public override AssetType AssetType { get { return AssetType.Primitive; } }
|
||||
public override AssetType AssetType { get { return AssetType.Object; } }
|
||||
|
||||
public AssetPrim() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user