Fix Save Preview As... for textures, now save as any type we can encode to!
Removes the previous method and condenses the menu entries back into one. - Translations have been updated except for German, German will need to update the translation for "Save Preview As..." since the name hasn't changed. Adds FFSAVE_IMAGE to the filepicker enums Crossplatformity: - The Windows version works nicely - The Linux version may not work or even compile but it should.. - The Mac version hasn't been added, instead it will default to accept any(all filter), should the provided file extension be invalid a notification will display.
This commit is contained in:
@@ -63,8 +63,7 @@ public:
|
||||
virtual void draw();
|
||||
|
||||
virtual BOOL canSaveAs() const;
|
||||
virtual void saveAs(){ saveAsType(false); }
|
||||
void saveAsType(BOOL png);
|
||||
virtual void saveAs();
|
||||
void saveAs_continued(LLViewerInventoryItem const* item, AIFilePicker* filepicker);
|
||||
virtual LLUUID getItemID();
|
||||
virtual std::string getItemCreatorName();
|
||||
|
||||
Reference in New Issue
Block a user