Commit Graph

65 Commits (076a89506243e8d4037f34c2a78278ff6ee0f1f7)

Author SHA1 Message Date
Maxim Nikolenko 076a895062 SL-17635 remove unused variables 2022-06-21 17:55:29 +03:00
Andrey Lihatskiy ec77b2e0ea SL-13133 Numerical camera preset names sorting order fix 2020-04-28 19:07:55 +03:00
Mnikolenko Productengine 74d6e6b65c SL-12904 FIXED Camera Preset does not restore correctly when sitting 2020-04-20 14:27:22 +03:00
Mnikolenko Productengine 944b908be1 SL-12994 FIXED [Camera Presets] Zoom fraction should be saved as a part of Camera preset, not as separate setting 2020-04-10 18:38:56 +03:00
Mnikolenko Productengine 40394752f7 SL-12991 [Camera Presets] Sort all Camera preset lists in the same way 2020-04-07 21:26:13 +03:00
Mnikolenko Productengine 3bac0d4283 SL-12991 [Camera Presets] Sort all Camera preset lists in the same way 2020-04-07 19:15:40 +03:00
maxim_productengine 2c7a8a2485 SL-12618 FIXED The camera zoom position is incorrect after selecting the preset in some cases 2020-01-30 17:51:41 +02:00
Mnikolenko Productengine a2f0fd64e9 SL-12510 Revert changes and separate 'Save Graphic Preset' floater 2020-01-08 18:14:21 +02:00
maxim_productengine abd5277a7b SL-12424 WIP Save mousewheel zoom fraction in preset 2019-12-18 11:26:22 +02:00
maxim_productengine 5f86203f26 SL-12429 Use different setting name to prevent crash on old viewer 2019-12-10 15:44:01 +02:00
maxim_productengine 716552a0c0 SL-12186 Don't copy templates from app_settings directory, because it's excessive 2019-11-19 11:55:02 +02:00
maxim_productengine 3824624ab1 SL-12186 Correctly populate list after creating default presets 2019-11-15 14:16:12 +02:00
maxim_productengine 7637f34386 SL-12186 WIP Get rid of excessive offset settings as we moved to store data in xml 2019-11-13 17:39:40 +02:00
maxim_productengine 4778417f25 SL-12186 WIP Use appropriate offset names when saving presets 2019-11-13 15:55:02 +02:00
maxim_productengine 382c184501 SL-12186 WIP Added ability to reset default presets and updated item list in 'My camera presets' floater 2019-11-12 16:26:34 +02:00
maxim_productengine 1fa0b3fe95 SL-12186 WIP Add new 'My camera presets' floater 2019-11-08 17:57:17 +02:00
maxim_productengine dd8128114c SL-12186 WIP Minor updates for 'Camera controls' and 'Save preset' floaters 2019-11-08 17:31:59 +02:00
Mnikolenko Productengine c75d443c83 SL-12186 WIP Updating UI for camera controls, including presets 2019-11-04 20:35:34 +02:00
Mnikolenko Productengine 915587de45 Fix crash on startup and restore missing settings 2019-10-29 13:27:21 +02:00
Graham Linden ac2fc3029f Backout tabs v spaces changes.
'warn-on-failure:no-tabs'
2019-03-12 08:56:26 -07:00
Graham Linden 3e56002245 Tabs -> spaces. 2019-03-11 08:11:09 -07:00
Graham Linden 2783783575 Merge to 5.2.0 2018-09-26 21:25:11 +01:00
andreykproductengine a1e6383b5f MAINT-8926 Don't allow overwritting default preset 2018-08-22 19:32:50 +03:00
Oz Linden b778abe02b disambiguate boost list assignment by using a const for the value 2018-01-30 09:21:14 -05:00
Oz Linden a7911c4379 merge changes for 5.1.0-release 2018-01-19 11:18:29 -05:00
Jonathan Yap 9954d8d823 STORM-2145 Use string constant rather than a hardcoded string. 2018-01-18 17:13:07 -05:00
Jonathan Yap 2392581677 STORM-2145 Deal with preset files with spaces correctly 2018-01-16 18:02:47 -05:00
Jonathan Yap 9c7b634ba6 STORM-2145 Change line ending type of preset files 2018-01-16 11:27:49 -05:00
Jonathan Yap a1b3436586 STORM-2145 Get current preset indicator to work properly 2018-01-15 16:01:24 -05:00
Jonathan Yap fc29786cb2 STORM-2145 Added copying of initial preset files 2018-01-14 19:14:46 -05:00
Jonathan Yap 527388694a STORM-2145 Added a small floater 2018-01-13 12:18:40 -05:00
Jonathan Yap 1e586749ef STORM-2145 Merge up to viewer-release 2018-01-12 09:08:49 -05:00
Nat Goodspeed 5002bf5660 MAINT-8087: Use env vars from VMP for AppData\Roaming and Local.
On Windows, when logged in with a non-ASCII username, every one of the three
documented APIs -- SHGetSpecialFolderPath(), SHGetFolderPath() and
SHGetKnownFolderPath() -- fails to retrieve any pathname at all. We cannot
account for the fact that the oldest of these continues to work with the
release viewer and within a Python script (though not, curiously, from a
Python interactive session). With a non-ASCII username, they consistently fail
when called from an Alex Ivy viewer build: "The filename, directory name, or
volume label syntax is incorrect."

Empirically, with a non-ASCII username, the preset APPDATA and LOCALAPPDATA
environment variables are also useless, e.g. c:\Users\??????\AppData\Roaming
where those are, yup, actual question marks.

Empirically, the VMP is able to successfully call SHGetFolderPath() to
retrieve both AppData\Roaming and AppData\Local. Therefore, we make the VMP
set the APPDATA and LOCALAPPDATA environment variables to the UTF-8 encoded
correct pathnames. Instead of calling SHGetSomethingFolderPath() at all, make
LLDir_Win32 retrieve those environment variables.

Make LLFile::mkdir() treat "directory already exists" as a success case. Every
single call fell into one of two categories: either it didn't check success at
all, or it tested specially to exempt errno == EEXIST. Migrate that test into
mkdir(); eliminate it from call sites.

Make LLDir::append() and add() convenience functions accept variadic
arguments. Replace add(add()...) constructs, as well as clumsy concatenations
of directory names and getDirDelimiter(), with simple variadic add() calls.
2017-12-20 22:51:26 -05:00
Nat Goodspeed ccc42830ee DRTVWR-418: Fix vector assignment for C++03.
For the time being we're still compiling for production with C++03. Although
assigning an initializer list to a vector is valid C++11, in C++03 mode clang
rejects it.
2017-05-08 10:05:15 -04:00
Jonathan Yap 5c4ae5b11a STORM-2145 Camera Presets -- some initial work 2017-02-23 17:50:36 -05:00
Nat Goodspeed ae0b3149ba DRTVWR-418: Fix a round of compile errors surfaced by -std=c++11.
These are mostly things that were in fact erroneous, but accepted by older
compilers.

This changeset has not yet been built with Visual Studio 2013 or Linux gcc,
even with -std=c++11.

This changeset has not been built *without* -std=c++11. It should be used in
conjunction with a corresponding change to LL_BUILD_DARWIN_BASE_SWITCHES in
viewer-build-variables/variables.

This is a work in progress. We do not assert that this changeset completes the
work needed to turn on -std=c++11, even on the Mac.
2017-02-23 16:49:49 -05:00
Mnikolenko Productengine c00065a205 MAINT-6813 Opening Preferences floater takes too much time to open on login screen on some machines 2016-10-12 16:48:27 +03:00
Mnikolenko Productengine 85fd2dc870 MAINT-6550 Graphic preset name including "\" causes preset to be unusable & preset cannot be deleted. 2016-07-05 18:23:14 +03:00
AndreyL ProductEngine 0d5edb03a2 MAINT-6435 Deafult preset should set the same settings as the "Reset to recommended settings" button 2016-05-27 03:34:37 +03:00
Oz Linden 518f92126f improve settings error log, and make type conversion methods static 2016-03-23 11:50:39 -04:00
Ansariel 95a8b04ba8 FIXED Graphics presets do not work properly when localized "Default" string 2016-02-19 22:08:28 +01:00
Oz Linden 453dee2d21 MAINT-5542: fix initialization of Default graphics preset so that it is selectable 2015-09-28 15:00:17 -04:00
Oz Linden 1f40ba89e6 STORM-2120 Make graphics presets account specific 2015-08-19 11:32:02 -04:00
Oz Linden 1cfa126279 workarounds to get this building again; note: review mute list caching change before promoting 2015-06-19 17:49:05 -04:00
Jonathan Yap 2d31abfcd9 STORM-2082 Fix edge case bug 2015-02-19 14:34:31 -05:00
Jonathan Yap 60311c6409 STORM-2082 Put "Default" at the top of the non-Delete comboboxes. 2015-01-21 04:57:42 -05:00
Jonathan Yap 58577702a8 STORM-2082 Finally(?) deal properly with dirty UI processing.
Code cleanup, some per bitbucket comments.
2015-01-20 18:24:02 -05:00
Jonathan Yap 56f43a3900 STORM-2082 Still trying to work out the dirtyChilds issue. Also made some small UI adjustments. 2015-01-20 13:35:26 -05:00
Jonathan Yap 611391a818 STORM-2082 Update to new UI design. Bugs are not worked out yet. 2015-01-20 09:17:23 -05:00
Jonathan Yap d1bc2fe292 STORM-2082 Assorted UI tweaks, better MaximumARC formula, pulldowns disappear faster 2015-01-14 19:55:58 -05:00