Henri Beauchamp
0df35799a3
Remove a remnant of debug code.
2024-07-08 23:31:43 +02:00
Henri Beauchamp
989cfe2f70
Fix for crash in XMLRPC reply decoding on login with large inventories
...
Commit 2ea5ac0c43 introduced a crash bug
due to the recursive construction of the XMLTreeNode wrapper class.
The constructor of the said class typically recurses twice as many times
as there are entries in the user's inventory list.
This commit:
- Moves the fromXMLRPCValue() method and its helper functions from the LLSD
class/module to the LLXMLNode class, where it belongs, thus making
LLSD::TreeNode (which was a wrapper class to avoid making llcommon
dependant on llxml, which is still the case after this commit) totally
moot; the fromXMLRPCValue() call is now done directly on the LLXMLNode.
- Moves the XML and XMLRPC decoding code out of the HTTP coroutine
LLXMLRPCTransaction::Handler (coroutines got an even smaller and fixed
stack), and into LLXMLRPCTransaction::Impl::process().
- Removes XMLTreeNode entirely, fixing the crash as a result.
2024-07-08 23:18:02 +02:00
Andrey Lihatskiy
94a66b5584
Merge pull request #1941 from RyeMutt/llpointer-move
...
Introduce move assignment and construction to LLPointer
2024-07-08 19:17:12 +03:00
Rye Mutt
38fdee7673
Introduce move assignment and construction to LLPointer
2024-07-08 11:14:02 -04:00
Andrey Kleshchev
22782a0c68
viewer#1131 Fix gltf editor being a bit spamy
2024-07-08 16:19:39 +03:00
Alexander Gavriliuk
d0173ac7fc
#1931 Terminate AppViewer immediately in case of initialization failed
2024-07-08 12:16:32 +02:00
Andrey Kleshchev
d996497c5e
SL-15354 Fixed object IMs not respecting chat settings
2024-07-08 08:15:36 +03:00
Andrey Kleshchev
77a8bd878b
viewer#1916 Updated default Chat Window behavior
2024-07-08 07:22:14 +03:00
Alexander Gavriliuk
9ddf64c651
#1931 BugSplat Crash: SecondLifeViewer!LLRenderTarget::release(387)
2024-07-06 08:38:17 +02:00
Andrey Lihatskiy
958f781283
Merge pull request #1930 from RyeMutt/llsd-opts
...
Introduce move support and string_view to LLSD
2024-07-05 19:18:09 +03:00
Rye Mutt
1296afd96a
Reduce LLSD::Binary temporaries
2024-07-05 02:56:25 -04:00
Rye Mutt
f6d2536e4f
Make LLDate a trivial copyable/movable type
2024-07-05 02:56:25 -04:00
Rye Mutt
6cf176900f
Add move construction/assignment support for LLSD type
2024-07-05 02:56:25 -04:00
Rye Mutt
7df1edbde1
Introduce move assignment operators for various LLSD types
2024-07-05 02:56:25 -04:00
Rye Mutt
59312bf209
Introduce string_view to LLSD map functions to reduce string temporaries
2024-07-05 02:56:24 -04:00
Andrey Kleshchev
b099dbef27
viewer#1131 Sync 'transform' arrows with UI
2024-07-04 08:29:37 +03:00
Dave Parks
08b933a0c6
#1870 Tune up for better experience on integrated intel with low memory ( #1872 )
...
* More deterministic vsize calculation. Add control for choosing downscale method.
* Quick hack to make GLTF preview work again
2024-07-03 17:42:24 -05:00
Andrey Kleshchev
9a38ecee8e
viewer#1131 gltf model upload UI WIP #4
...
Hooked selection to tree view
2024-07-03 22:21:18 +03:00
Alexander Gavriliuk
32f3107a20
#1917 The 'No emoji selected' message appears and overlaps emoji name
2024-07-03 15:23:19 +02:00
Andrey Kleshchev
42a9690daa
viewer-private#247 Porperly reload image when uploading a model
2024-07-03 06:23:50 +03:00
cosmic-linden
9af13cce61
Merge pull request #1887 from secondlife/v-1475
...
secondlife/viewer#1475 : Add test plan for PBR terrain texture transforms UI
2024-07-02 15:05:01 -07:00
Cosmic Linden
2c46194d70
secondlife/viewer#1475 : Add test plan for PBR terrain texture transforms UI
2024-07-02 15:01:55 -07:00
cosmic-linden
51b329cc47
Merge pull request #1902 from secondlife/v-1847
...
secondlife/viewer#1847 : Add test plan for normal textures on PBR materials
2024-07-02 14:27:52 -07:00
Cosmic Linden
b7ad221f37
secondlife/viewer#1847 : Update test plan: Enumerate support for KHR_texture_transform on prims
2024-07-02 14:25:30 -07:00
Andrey Kleshchev
b63065486b
viewer#1666 Make warning universal to avoid shifting notification
2024-07-02 21:53:43 +03:00
Andrey Kleshchev
1adb94a89c
viewer#1666 Allow switching 2k textures off in bulk uploads
2024-07-02 21:53:43 +03:00
Jonathan "Geenz" Goodman
b276936ef3
Quick fix for a possible merge bug from featurettes. ( #1715 )
2024-07-02 11:01:35 -07:00
Beq Janus
2e836ab06f
LL Issue#1835 - Input delays introduced in PBR viewers. ( #1889 )
2024-07-02 12:59:30 -05:00
Beq Janus
475d0df4c1
Experimental fix for blurry textures ( #1875 )
...
This change removes the distance based bias (which is a large contributor to premature blurring) but adds a check using the importance factor to give some balance.
importance should be between 0 and 1 and is higher when the texture is facing the camera, lower when it is side on,
The unimportance setting defines the cutoff vaklue below which we'll consider the textures worth "down scaling" by the bias factor. The setting is inplace to allow us to play with this, 0.25 is current default.
Note this change moves the calcPixelArea() call to the top BEFORE we user getPixelArea(). Either that call is entirely redundant (i.e. if calc was called earlier in the frame) or we were using the stale pixelArea (one frame behind). If the former is true then it might be faster to just do an AABB frustum check.
2024-07-02 12:57:39 -05:00
Andrey Kleshchev
886be2faf1
viewer#1857 Reset texture transforms when terrain PBR is applied
...
ctrls aren't dynamically alocated so getChild is preferable, but since other elements use findchild and validy checks used findChild as well
2024-07-02 19:34:37 +03:00
Andrey Kleshchev
cb2795748e
viewer#1905 Fix "Share" and "Pay" buttons' state in nearby list
2024-07-02 19:29:38 +03:00
Andrey Lihatskiy
b0a6bae589
Merge pull request #1906 from RyeMutt/reduce-llui-stringtemp
...
Reduce string temporaries in LLUI part 2
2024-07-02 19:09:00 +03:00
Andrey Kleshchev
c19d766812
viewer#1907 Shader initialization error
2024-07-02 18:46:35 +03:00
Rye Mutt
14cbf331cb
Reduce string temporaries from LLTabContainer, LLMenuGL, LLLayoutStack, and LLKeywords using string_view
2024-07-02 08:56:42 -04:00
Rye Mutt
6ad1957b31
Reduce string temporaries from LLPanel using string_view
2024-07-02 08:55:52 -04:00
Rye Mutt
fc8c601fc1
Reduce string temporaries from LLNotifications using string_view
2024-07-02 08:55:12 -04:00
Andrey Lihatskiy
5e1f83f7e6
Merge pull request #1903 from RyeMutt/reduce-llui-stringtemp
...
Reduce string temporaries from frequently called llui find and get functions
2024-07-02 12:02:26 +03:00
Rye Mutt
fad6a37537
Fix test builds
2024-07-01 23:01:32 -04:00
Rye Mutt
3fa6db9603
Reduce string temporaries from LLTrans
2024-07-01 22:50:39 -04:00
Rye Mutt
0460d9a5e8
Reduce string temporaries from finding colors in the color table
2024-07-01 22:35:34 -04:00
Rye Mutt
b0e30477e9
Use heterogeneous comparison for string_view map finds in LLControl and convert controlExists to string_view
2024-07-01 22:25:56 -04:00
Rye Mutt
49d60e0ded
Reduce string temporaries from LLFloaterReg find/get
2024-07-01 22:24:32 -04:00
Rye Mutt
e834e77988
Reduce string temporaries from findChild and getChild
2024-07-01 21:50:54 -04:00
Cosmic Linden
9ccab0df14
secondlife/viewer#1847 : Add test plan for normal textures on PBR materials
2024-07-01 16:17:06 -07:00
cosmic-linden
e32f6426d5
Merge pull request #1882 from secondlife/v-1847
...
secondlife/viewer#1847 : Fix negative UV scale inverting normal texture lighting for PBR materials and PBR terrain
2024-07-01 14:52:58 -07:00
Brad Linden
817a1321db
Merge pull request #1899 from beqjanus/fix-mirror-crashes
...
Fix for various TP where a mirror is present
2024-07-01 14:32:14 -07:00
Cosmic Linden
186395ee4b
secondlife/viewer#1847 : Add test plan
2024-07-01 14:22:26 -07:00
Cosmic Linden
5a60b7811f
secondlife/viewer#1847 : Fix wrong lighting for negative texture scale on PBR materials and PBR terrain
2024-07-01 14:22:21 -07:00
Alexander Gavriliuk
2ea5ac0c43
#1111 Remove xmlrpc-epi
2024-07-01 20:20:04 +02:00
Brad Linden
9ab2f662f8
Merge pull request #1819 from secondlife/brad/tag-release
2024-07-01 10:37:21 -07:00