Enable/disable upload/send button correctly.
Passes an 'index' magic number to the upload/save functions which pass that back to the *Done callbacks, so we know if the *raw* snapshot is still up to date when the upload succeeds or fails.
This commit is contained in:
@@ -574,7 +574,7 @@ class LLFileTakeSnapshotToDisk : public view_listener_t
|
||||
formatted->enableOverSize() ;
|
||||
formatted->encode(raw, 0);
|
||||
formatted->disableOverSize();
|
||||
gViewerWindow->saveImageNumbered(formatted);
|
||||
gViewerWindow->saveImageNumbered(formatted, -1);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user