Age | Commit message (Collapse) | Author |
|
I had to find a spot in source code where it doesn't cause a crash
(it did in LLAgent::setRegion), but I'm not removing the one in
llstartup.cpp because on login, the one in llviewermessage.cpp
gets only the placeholder coords (10, 10, 10).
|
|
I was going to use LLAgentUI::buildLocationString but there's no
location format that shows only region and coords without having
to have the parcel name empty, so I copied buildLocationString
implementation in the case of LOCATION_FORMAT_NO_MATURITY but when
the parcel name is empty.
I had to make updateDiscordActivity check agent's ID and the
existence of agent avatar pointer first before trying to set
Activity Details or State, cause I like the "Show location" button
be checkable not only after online when both the ID & pointer will
have existed. I think this way is simpler than programmatically
enabling the "Show location" button after the user is logged in.
I put a trigger to Activity update somewhere after the user is
logged in for now, not yet after a TP.
The elapsed time gets reset whenever Activity is updated for now,
but I'll try to make elapsed time extended instead.
No Party for now, because I couldn't find a way to make a Party
shown without showing its CurrentSize (I could still get away not
showing its MaxSize by setting it to 0), so the State (location)
is shown above the elapsed time, not on the right of it.
I'll try to figure out to get some representative numbers for its
CurrentSize & MaxSize next.
Also no privacy on hiding the username for now, until the UI is
ready.
|
|
Now the access token is saved the way passwords are saved, but
without a username, so we can have some persistence without having
to implement an OAuth2 backend server cause we would have to store
those tokens there anyway still and that would even require more
disclosure that the user token gets saved on a server, and it's
just simpler to not go that way. Discord Social SDK doesn't have
to have a helper for sending code to a custom server anyway, that
we would have to have some asynchronous HTTP requestor ready.
Show location check button gets enabled only when Discord
integration is enabled, though it's not functioning yet.
|
|
and minimise difference from SL main.
|
|
Add tab and checkboxes for discord social SDK integration options to panel_preferences_privacy.xml
|
|
The doFrame is the one called over and over again, so running the
Discord callbacks from there shouldn't have one extra function
overhead, while running the Discord initialisation is only once so
it's much more okay to have the extra function overhead there.
|
|
change in #4406
|
|
|
|
|
|
Geenz/main to 2025.05
|
|
|
|
|
|
|
|
|
|
|
|
and reindent the appearance manager functions to call to match
how they will be placed on the combining macro.
|
|
Copying from LLEditTakeOff implementation in llviewermenu.cpp.
|
|
Per specification, the folder must be directly under "#RLV" for
this to work, hence not using the shared folder ID retrieval macro.
|
|
|
|
|
|
Copied from llwindowwin32.cpp.
|
|
Output is highly technical, but better than nothing
|
|
for material and model upload
|
|
Since these offsets are used for idx[i+offset] where i starts from 0,
they shouldn't be below 0 to not go out of bounds.
|
|
|
|
for libcef.so. On a minimal system, those two wouldn't be pulled
automatically by some other package(s).
|
|
Tested on Debian Asahi so far, will try on Fedora Asahi next.
I had to trace this down, setting Logging Level to Debug, and comparing
SecondLife.log with a successful login on Linux x86-64.
At first setWeight() in LLViewerVisualParam::setInfo seemed to be
avoiding a crash too when commented out, but turns out it's still okay
when re-enabled.
|
|
|
|
When WebRTC was compiled with the viewer, we got this:
Fatal error in: ../webrtc/src/media/engine/adm_helpers.cc, line 39
last system error: 88
Check failed: 0 == adm->Init() (0 vs. -1)
Failed to initialize the ADM.
This commit hasn't included the additional preprocessor macro for the
platform in indra/newview/llvoiceclient.cpp yet, because there's no such
macro yet to distinguish such distro from any other GNU/Linux distro.
|
|
|
|
This reverts commit a8dfeed4632aad0233ff08d1efd950b620fd1be7.
|
|
|
|
previously unintentionally left out from commit 829e4
|
|
In file included from /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/lltrace.h:38,
from /usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llfasttimer.h:31,
from /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llviewerprecompiledheaders.h:61,
from /usr/home/erik/Documents/Megapahit/viewer/build-linux-x86_64/newview/CMakeFiles/megapahit.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h: In instantiation of ‘void LLPointer<Type>::ref() [with Type = LLViewerObject]’:
/usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:60:9: required from ‘LLPointer<Type>::LLPointer(Type*) [with Type = LLViewerObject]’
/usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:127:47: required from here
/usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:174:23: error: invalid use of incomplete type ‘class LLViewerObject’
174 | mPointer->ref();
| ~~~~~~~~~~^~~
In file included from /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llviewerregion.h:45,
from /usr/home/erik/Documents/Megapahit/viewer/indra/newview/llagentlanguage.cpp:32:
/usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:33:7: note: forward declaration of ‘class LLViewerObject’
33 | class LLViewerObject;
| ^~~~~~~~~~~~~~
/usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h: In instantiation of ‘void LLPointer<Type>::unref() [with Type = LLViewerObject]’:
/usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:92:9: required from ‘LLPointer<Type>::~LLPointer() [with Type = LLViewerObject]’
/usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:127:47: required from here
/usr/home/erik/Documents/Megapahit/viewer/indra/llcommon/llpointer.h:184:19: error: invalid use of incomplete type ‘class LLViewerObject’
184 | temp->unref();
| ~~~~~~^~~~~
/usr/home/erik/Documents/Megapahit/viewer/indra/newview/llreflectionmap.h:33:7: note: forward declaration of ‘class LLViewerObject’
33 | class LLViewerObject;
| ^~~~~~~~~~~~~~
|
|
|
|
|
|
Add support for frametime events per minute.
|
|
|
|
Merge develop into gltf mesh import
|
|
|
|
To simplify merging into mesh import branch
This reverts commit b0c951ffe348f478f27a85720cc7aeffea32fe73.
|
|
|
|
Make downstepper better match upstepper
|
|
applied
|
|
|
|
|
|
|
|
|
|
Download DiscordSocialSdk-1.4.9649.zip
https://discord.com/developers/applications/1393451183741599796/social-sdk/downloads
to your ~/Downloads folder.
Add -DUSE_DISCORD:BOOL=ON to your cmake line.
The authorisation is triggered by selecting Help > Discord Social.
It seems that the user will need to do this every time they want Rich
Presence support on the viewer while using Discord.
The Discord app is still set to be a public client in the OAuth2 tab,
I'm going to try to make it work with the app set to be a confidential
client, next.
All Discord-related code are contained within one file, llstartup.cpp,
and other classes access it through some opaque layer, static functions,
otherwise we'd get these "duplicate symbol" linking errors.
|
|
to make root prim more deterministic instead of being random each try
|