Commit Graph

78 Commits (533b3540cc8cd3d48d2e3d5cfd760bc09e21fdd3)

Author SHA1 Message Date
Ansariel ab8a179b25 Merge viewer-camus 2019-11-14 21:42:07 +01: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
Ansariel 44cea41212 Merge viewer-camus 2019-10-30 23:39:30 +01: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
Ansariel e2e117b3b8 Merge Firestorm LGPL 2018-09-27 00:16:21 +02:00
Graham Linden 2783783575 Merge to 5.2.0 2018-09-26 21:25:11 +01:00
Ansariel d93b92ec1d Merge viewer-bear 2018-09-12 20:13:12 +02:00
andreykproductengine a1e6383b5f MAINT-8926 Don't allow overwritting default preset 2018-08-22 19:32:50 +03:00
Ansariel b3baed5cbc Copy standard presets to the correct folder 2018-06-05 17:02:25 +02:00
Ansariel 1d1634c960 Add additional controls to a camera preset: ZoomTime, CameraPositionSmoothing, EditAppearanceLighting, FSDisableMouseWheelCameraZoom & DisableCameraConstraints 2018-06-05 16:22:08 +02:00
Ansariel 0f20304d76 Move "Advanced Camera View" into Preferences -> Move & View -> View and make things work properly 2018-06-05 16:13:26 +02:00
Ansariel efa8baca1d Merge viewer-camus 2018-06-05 13:21:11 +02: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
Ansariel 799309f890 Merge viewer-64 2018-01-04 13:09:03 +01: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
Nicky 985730a52c Merge. 2017-05-18 17:40:24 +02: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
Ansariel c182741596 Merge viewer-lynx 2016-11-16 09:55:54 +01: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
Ansariel 1e521a042c Merge Firestorm LGPL 2016-08-10 21:25:45 +02:00
Ansariel 5b23cb6be2 FIRE-19810: Make presets global since PresetGraphicActive setting is global as well
Having a mix of a global setting storing the active preset and actual presets
saved on a per-account basis creates glorious fails, for instance when
logging in with a different account that "accidentally" doesn't have the
current preset.
2016-08-09 14:35:57 +02:00
Ansariel cfa3de19e3 Merge Firestorm LGPL 2016-07-06 23:58:20 +02: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
Ansariel ea28514d3b Merge Firestorm LGPL 2016-07-04 16:10:45 +02:00
Ansariel e582071909 Update indirect controls after loading a graphic preset 2016-06-18 13:38:22 +02:00
Ansariel 267007f963 Merge Firestorm LGPL 2016-06-09 15:29:14 +02:00
Ansariel 3293f232d9 Make graphic presets behave with draw distance stepping 2016-06-09 13:54:07 +02:00
Ansariel 72d5af7d46 Graphic preset controls independent from preferences XUI; List of relevant controls is loaded from graphic_preset_controls.xml 2016-06-09 11:56:50 +02:00
Ansariel cb968152b0 Merge viewer-bear 2016-05-28 14:34:35 +02: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
Ansariel 4e9ec45f41 Build fix: Assign operation is ambigious 2016-04-22 00:59:03 +02:00
Mnikolenko Productengine cd4a2bad06 MAINT-6550 Graphic preset name including "\" causes preset to be unusable & preset cannot be deleted. 2016-07-05 18:23:14 +03:00
Ansariel 14954d999d Merge viewer-quickgraphics 2016-03-31 18:54:45 +02:00