Commit Graph

45381 Commits (ef58b9751a514e5e63cd77f9f78e6513bc6403cd)

Author SHA1 Message Date
Callum Linden ef58b9751a DRTVWR-568: Pull in new 3p-colladadom build, tweak to VSVER number hardcoded into autobuild.xml for VS 2022 and update cmake script to copy the MSVC runtime (proper fix coming 2022-08-30 15:20:04 -07:00
Callum Linden a3f7f7d8c0 Merge remote-tracking branch 'origin/more-c++17' into DRTVWR-568 2022-08-29 10:14:06 -07:00
Nat Goodspeed 592abc460c DRTVWR-568: More cleanup of deleted obsolete std library features. 2022-08-26 22:49:16 -04:00
Nat Goodspeed 2dc4aec993 DRTVWR-568: Eliminate more blockers to C++17 language standard. 2022-08-26 17:21:01 -04:00
Callum Linden 35de5fc912 SL-18021 Generate a VS 2019 build of the Viewer using current third party libraries: replace hard coded VS 2017 '150' maginc number with another magic number - for VS 2019 2022-08-25 10:04:02 -07:00
Nat Goodspeed 96ec4b3a54 DRTVWR-558: Re-enable --leap command-line switch for dev builds.
The --leap command-line switch is independent of updater processing. It should
NOT be suppressed when the updater is suppressed. --leap is used for viewer
testing, which is important for dev builds!
2022-08-24 14:01:16 -04:00
Nat Goodspeed 65612700f3 DRTVWR-558: Eliminate many spurious set-not-used variables.
With Xcode 13.4, these unused variables break Release builds.
2022-08-24 14:00:16 -04:00
Nat Goodspeed 2c95174031 DRTVWR-558: Remove references to string join() per code review. 2022-08-23 17:23:40 -04:00
Nat Goodspeed 94c571887b DRTVWR-558: Streamline and generalize Windows Python search. 2022-08-23 17:21:31 -04:00
Nat Goodspeed 7d996857cc DRTVWR-558: Fix Release variable-set-but-unused error. 2022-08-23 15:14:18 -04:00
Nat Goodspeed 7bef77cf4b DRTVWR-558: macOS Monterey objdump apparently needs --option
instead of -option as before.
2022-08-23 12:55:38 -04:00
Nat Goodspeed 15d37713b9 DRTVWR-558: Fix builds on macOS 12.5 Monterey.
Always search for python3[.exe] instead of plain 'python'. macOS Monterey no
longer bundles Python 2 at all.

Explicitly make PYTHON_EXECUTABLE a cached value so if the user edits it in
CMakeCache.txt, it won't be overwritten by indra/cmake/Python.cmake.

Do NOT set DYLD_LIBRARY_PATH for test executables! That has Bad Effects, as
discussed in https://stackoverflow.com/q/73418423/5533635. Instead, create
symlinks from build-mumble/sharedlibs/Resources -> Release/Resources and from
build-mumble/test/Resources -> ../sharedlibs/Release/Resources. For test
executables in sharedlibs/RelWithDebInfo and test/RelWithDebInfo, this
supports our dylibs' baked-in load path @executable_path/../Resources. That
load path assumes running in a standard app bundle (which the viewer in fact
does), but we've been avoiding creating an app bundle for every test program.
These symlinks allow us to continue doing that while avoiding
DYLD_LIBRARY_PATH.

Add indra/llcommon/apply.h. The LL::apply() function and its wrapper macro
VAPPLY were very useful in diagnosing the problem.

Tweak llleap_test.cpp. This source was modified extensively for diagnostic
purposes; these are the small improvements that remain.
2022-08-22 21:00:42 -04:00
Nat Goodspeed c0f709b637 DRTVWR-564: Add LL::apply(): call function, passing args from tuple.
This anticipates C++17's std::apply(), and in fact once we detect C++17, we'll
just use that. But in C++14 we must still provide our own implementation.

(cherry picked from commit dc2e2cd76f)
2022-08-22 20:39:37 -04:00
Nat Goodspeed 9dba9f80f4 Increment viewer version to 6.6.3
following promotion of DRTVWR-561
2022-08-03 17:04:10 -04:00
Andrey Kleshchev 620ee989e3 SL-17772 Crash and a memory leak in LLPanelInventoryListItemBase
1. text_params, not text_aprams, due to this viewer was reusing same params and failing to create mTitleCtrl
2. All ctrls should be owned.
2022-07-13 22:51:29 +03:00
Sabrina Shanman dc5a293eff Merged in SL-17691 (pull request #1054)
SL-17691: Color changes on objects cause octree rebuilds

Approved-by: Andrey Lihatskiy
2022-07-13 16:34:44 +00:00
Cosmic Linden 1614e4390b SL-17691: Consolidate calls to onDrawableUpdateFromServer to reduce false positives, change mServerDrawableUpdateCount from U64->U32 2022-07-12 17:43:01 -07:00
Cosmic Linden 0aaf52c77c SL-17691: Make objects active if there are too many material updates from the server 2022-07-12 15:53:38 -07:00
Andrey Kleshchev c287bc0a86 SL-17760 Crash at LLFolderViewItem::refresh(318)
and at LLFolderViewItem::postBuild for LLConversationViewParticipant
2022-07-13 00:08:41 +03:00
Andrey Kleshchev 0c3149eb7d SL-17759 Crash at LLProgressBar::draw
mImageBar and mImageFill are specified as optional
2022-07-12 23:28:13 +03:00
Andrey Kleshchev 618766da89 SL-17758 Crash at LLSpatialSetOcclusionStateDiff::traverse(850)
According to bugsplat node was null
2022-07-12 23:11:31 +03:00
Andrey Kleshchev 237efeeaf6 SL-14572 Fixed two cases of viewer using wrong names for muting 2022-07-12 22:28:45 +03:00
Sabrina Shanman 12b49fde1d Merged in SL-17751 (pull request #1058)
SL-17751: Fix bounding boxes not updating in special cases, leading to object invisibility

Approved-by: Andrey Lihatskiy
2022-07-12 19:00:22 +00:00
Cosmic Linden 0715790057 SL-17751: Fix bounding boxes not updating in special cases, leading to object invisibility 2022-07-12 10:43:12 -07:00
Mnikolenko Productengine caa5b92fb7 SL-17665 additional checks to avoid moving protected folders 2022-07-11 16:46:19 +03:00
Maxim Nikolenko 6fc22df480 SL-17727 FIXED Crash when specifying --graphicslevel option on mac 2022-07-08 19:03:51 +03:00
Andrey Kleshchev b6e8596cd9 SL-16598 Stuck in Ground Sit
'Sitting' motion was in a loading state, but not active, which resulted in viewer dropping 'sitting' state
2022-07-07 22:59:49 +03:00
Maxim Nikolenko e292bf2633 Merged in SL-17666
SL-17666 Allow Map sidebar UI to be hidden
2022-07-07 18:03:59 +00:00
Andrey Kleshchev 2cf9f046a6 SL-17545 lodQueryCallback should quit as soon as it is done 2022-07-07 20:50:56 +03:00
Mnikolenko Productengine 59c586d0c6 SL-17666 Allow Map sidebar UI to be hidden 2022-07-07 18:14:49 +03:00
Sabrina Shanman 2f5a5f4151 Merged in SL-17448 (pull request #1044)
SL-17448: Fix LOD/octree update feedback loops causing LOD fluctuations.

Approved-by: Andrey Lihatskiy
2022-07-06 16:58:12 +00:00
Andrey Kleshchev 3dcdc4c85a SL-17545 fix double-scheduling of calculations 2022-07-06 15:57:58 +03:00
Cosmic Linden f74a17ca72 SL-17448: Also update the octree box if there is a position rebuild 2022-07-05 16:38:40 -07:00
Andrey Kleshchev 429274c468 SL-17545 Recalculate lods when replacing high lod with something incompatible 2022-07-04 21:40:31 +03:00
Mnikolenko Productengine ed9dbabb5e SL-17665 Add operation to create a subfolder from selected items in Inventory 2022-07-04 20:25:18 +03:00
Cosmic Linden 65fb1c26f1 SL-17448: Be more thorough about generating bounding boxes that don't affect the octree 2022-07-01 15:18:30 -07:00
Cosmic Linden 21d581ed38 SL-17448: Fix LOD/octree update feedback loops causing LOD fluctuations.
May also fix octree updates on mere material changes due to general refactoring.
2022-07-01 15:18:30 -07:00
Andrey Kleshchev 0fbfa6e884 SL-17493 Show total object count in object inventory 2022-07-01 22:37:44 +03:00
Cosmic Linden a3312328bf SL-17510: Fix frequently updating meshes (ex: sculpties) causing expensive octree updates by removing them from the static octree via makeActive 2022-07-01 11:19:46 -07:00
Mnikolenko Productengine 8488d86009 SL-17668 Add operation "show in inventory" on in-world avatar attachment 2022-06-30 13:22:19 +03:00
Andrey Lihatskiy a7c9ca8960 Merge branch 'master' into DRTVWR-561-maint-O 2022-06-29 20:32:13 +03:00
Nat Goodspeed 1e4f2ec07e Increment viewer version to 6.6.2
following promotion of DRTVWR-543
2022-06-29 11:01:34 -04:00
Andrey Kleshchev 10ab905c96 SL-17628 Added attachments can be moved past limit
Support 'button up' when losing focus
When releasing button far out of view or by refocusing something, button was not commiting. LLPanelObject last call was sendPosition(btn_down) with btn_down true which resulted in missed update. Now it will get one more call with btn_down==false.
2022-06-25 00:39:36 +03:00
Andrey Kleshchev 48d2836ce6 SL-17436 Tools floater drops negative Z position for attachments 2022-06-24 22:07:18 +03:00
Andrey Kleshchev 0c169dd37a SL-17590 Telehub beacon sometimes renders black 2022-06-21 23:24:14 +03:00
Mnikolenko Productengine e8dd01beec SL-17589 FIXED Camera does not zoom correctly when editing wearables 2022-06-17 19:00:38 +03:00
Mnikolenko Productengine 9f5a38b98e SL-17562 FIXED Grid Options changes position upon reopening of Build Window 2022-06-16 19:40:33 +03:00
Andrey Kleshchev f451672b0c SL-17475 Fix wrong remap buffer size 2022-06-16 16:46:04 +03:00
Mnikolenko Productengine dcac3f0514 SL-17577 Allow setting Object for sale for L$0 from Object Profile 2022-06-15 17:53:22 +03:00
Andrey Kleshchev b1cbf369cf SL-17475 Use a shadow indices buffer before simplification 2022-06-14 21:41:27 +03:00