Use AIFilePicker everywhere.
Also upgrade the file picker filters with the new extensions found in the orginal file picker code of Singularity. Also improve AIFilePicker a bit: added hasFilename() and now deleting the statemachine automatically by default: it's no longer needed to call deleteMe from the callback.
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
#include "llpreview.h"
|
||||
#include "llcharacter.h"
|
||||
|
||||
class AIFilePicker;
|
||||
|
||||
class LLPreviewAnim : public LLPreview
|
||||
{
|
||||
public:
|
||||
@@ -59,6 +61,7 @@ public:
|
||||
const LLUUID& asset_uuid,
|
||||
LLAssetType::EType type,
|
||||
void* user_data, S32 status, LLExtStat ext_status);
|
||||
static void gotAssetForSave_continued(char* buffer, S32 size, AIFilePicker* filepicker);
|
||||
static void copyAnimID(void* userdata);
|
||||
// </edit>
|
||||
static void endAnimCallback( void *userdata );
|
||||
|
||||
Reference in New Issue
Block a user