[libsecondlife]
* Rewrote CapsBase to reimplement the needed functions in WebClient instead of inheriting * Fixed some bugs in CapsClient with the wrong callbacks being hooked up * InventoryManager.RequestCreateItemFromAsset() signature changed to add a progress callback * Updated example code to match new RequestCreateItemFromAsset() [primpreview] * Changed FRONT_AND_BACK rendering to FRONT only to speed things up * Only run picking code for left-clicks git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1827 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Threading;
|
||||
using System.IO;
|
||||
using System.Drawing;
|
||||
using libsecondlife;
|
||||
using libsecondlife.Capabilities;
|
||||
|
||||
namespace importprimscript
|
||||
{
|
||||
@@ -214,6 +215,12 @@ namespace importprimscript
|
||||
AutoResetEvent uploadEvent = new AutoResetEvent(false);
|
||||
Client.Inventory.RequestCreateItemFromAsset(jp2data, Path.GetFileNameWithoutExtension(filename),
|
||||
"Uploaded with importprimscript", AssetType.Texture, InventoryType.Texture, UploadFolderID,
|
||||
|
||||
delegate(CapsClient client, long bytesReceived, long bytesSent, long totalBytesToReceive, long totalBytesToSend)
|
||||
{
|
||||
// FIXME: Do something with progress?
|
||||
},
|
||||
|
||||
delegate(bool success, string status, LLUUID itemID, LLUUID assetID)
|
||||
{
|
||||
if (success)
|
||||
|
||||
Reference in New Issue
Block a user