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:
@@ -277,6 +277,7 @@ protected:
|
||||
LLInventoryType::EType mInvType;
|
||||
};
|
||||
|
||||
class AIFilePicker;
|
||||
|
||||
class LLItemBridge : public LLInvFVBridge
|
||||
{
|
||||
@@ -303,7 +304,7 @@ public:
|
||||
virtual BOOL hasChildren() const { return FALSE; }
|
||||
virtual BOOL isUpToDate() const { return TRUE; }
|
||||
|
||||
|
||||
static void showFloaterImagePreview(LLInventoryItem* item, AIFilePicker* filepicker);
|
||||
|
||||
// override for LLInvFVBridge
|
||||
virtual void clearDisplayName() { mDisplayName.clear(); }
|
||||
|
||||
Reference in New Issue
Block a user