7faa19b29792b558a50b1da2bdfc483f6cc839dd
This commit concentrates on remembering what parameters where used for the last snapshot (the actual source, not the formatted one), thus - the parameters passed to rawSnapshot() - and then shows this snapshot as if it was just made whenever the UI parameter selection matches. The result is that the user can make a snapshot, save it (for example) to their harddisk and then change the destination and upload the same thing as snapshot. The code tries hard to make this possible by automatically adjusting the UI parameters to match every time the destination is changed PROVIDED it was already saved or uploaded before. If a snapshot wasn't saved and one changes destination then this currently doesn't happen (by you could manually make the parameters match, and still upload it). Also, if the resolution is changed for a particular destination then it won't automatically adjust it again. Obviously, snapshots are no longer refreshed when changing destination etc. You have to explicitly click "Refresh Snapshot" before the last one is deleted / replaced. The Debug Setting variables reflect the (last) manual choices in most cases (set in the onCommit functions). If such a choice is not allowed for a different destination then the UI is changed to reflect the current behavior and the checkbox is disabled so the user can't change it anymore. Then, if they change destination back - the Debug Setting variable is used to remember their last preference. A new Debug Setting has been added for this purpose: SnapshotLayerType (colors or depth). The old mSnapshotUpToDate has been removed and replaced with mShowFreezeFrameSnapshot. The old getSnapshotUpToDate() now returns something else (than mShowFreezeFrameSnapshot), namely whether or not the current raw snapshot was taken with the same parameters as are currently set in the UI. The unused functions getImageAspect() and getAspect() were removed. mCurImageIndex has been deleted. Index 0 now means "the last snapshot" and index 1 is temporarily used for the Falling Away animation. mDataSize was renamed to mFormattedDataSize. The size spinner arrows are now disabled too whenever the spinner edit field is disabled. A bug in Freeze Time was fixed, where avatars would still rotate around their axis in place (and without that their attachments moved!) Pressing ESC would return keyboard control to "walking" for the own avatar with the above as result for the own avatar. We now intercept ESC and use it (in Freeze Time mode) to return to the cammable preview when a 2D preview was being shown.
00000000011111111112222222222333333333344444444445555555555666666666677777777778
12345678901234567890123456789012345678901234567890123456789012345678901234567890
______ ___ __ _ _____ _ _ ______ _____ ___ _____ _ _
|_____ | | \ | | ___ | | | |____| |____/ | | \_/
_____| _|_ | \_| |____| |____| |____ | | | \_ _|_ | |
_ _ _ ____ _ _ ____ ____
\/ | |=== |/\| |=== |--<
Sin-gu-la-ri-ty (noun) - a distinctive feature, a uniqueness; a point at which
continuity breaks up; a point in history at which machine becomes smarter than
humanity and/or fuses with it indivisively; or simply a cool sounding word with
my initials in it :)
Singularity Viewer is a Second Life protocol compatible client application. It
can be used to access Second LIfe service as well as a number of other such as
those based upon OpenSim plattform. It is directly based upon source code of
Ascent Viewer by Balseraph Software Group, which is in turn based upon source
code released by Linden Lab, with contributions from various sources.
As this Readme grows out of date, please refer to
http://www.singularityviewer.org/about
Description
An experimental Snowglobe 1.5 based Second Life Viewer focusing on performance, but also including all the usual conveniences and RLVa.
Languages
C++
84.1%
Rez
7.6%
C
2.6%
SQLPL
1.6%
GLSL
1.6%
Other
2.3%