Commit Graph

71 Commits (e935a8aebca4ae014b5f6b438612ac5674678fe6)

Author SHA1 Message Date
Ansariel d65de99052 Use standard library functions for llisnan and replace obvious NaN checks that don't work using /fp:fast floating point behavior under MSVC 2025-04-17 18:44:09 +02:00
Rye Mutt 4b543b618b Cache more frequently accessed settings 2024-07-24 15:05:08 -04:00
Ansariel 9fdca96f8b Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now 2024-07-08 20:27:14 +02:00
Ansariel e2e37cced8 Fix line endlings 2024-05-22 22:40:26 +03:00
Ansariel 1b67dd855c Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-A
# Conflicts:
#	autobuild.xml
#	indra/cmake/CMakeLists.txt
#	indra/cmake/GoogleMock.cmake
#	indra/llaudio/llaudioengine_fmodstudio.cpp
#	indra/llaudio/llaudioengine_fmodstudio.h
#	indra/llaudio/lllistener_fmodstudio.cpp
#	indra/llaudio/lllistener_fmodstudio.h
#	indra/llaudio/llstreamingaudio_fmodstudio.cpp
#	indra/llaudio/llstreamingaudio_fmodstudio.h
#	indra/llcharacter/llmultigesture.cpp
#	indra/llcharacter/llmultigesture.h
#	indra/llimage/llimage.cpp
#	indra/llimage/llimagepng.cpp
#	indra/llimage/llimageworker.cpp
#	indra/llimage/tests/llimageworker_test.cpp
#	indra/llmessage/tests/llmockhttpclient.h
#	indra/llprimitive/llgltfmaterial.h
#	indra/llrender/llfontfreetype.cpp
#	indra/llui/llcombobox.cpp
#	indra/llui/llfolderview.cpp
#	indra/llui/llfolderviewmodel.h
#	indra/llui/lllineeditor.cpp
#	indra/llui/lllineeditor.h
#	indra/llui/lltextbase.cpp
#	indra/llui/lltextbase.h
#	indra/llui/lltexteditor.cpp
#	indra/llui/lltextvalidate.cpp
#	indra/llui/lltextvalidate.h
#	indra/llui/lluictrl.h
#	indra/llui/llview.cpp
#	indra/llwindow/llwindowmacosx.cpp
#	indra/newview/app_settings/settings.xml
#	indra/newview/llappearancemgr.cpp
#	indra/newview/llappearancemgr.h
#	indra/newview/llavatarpropertiesprocessor.cpp
#	indra/newview/llavatarpropertiesprocessor.h
#	indra/newview/llbreadcrumbview.cpp
#	indra/newview/llbreadcrumbview.h
#	indra/newview/llbreastmotion.cpp
#	indra/newview/llbreastmotion.h
#	indra/newview/llconversationmodel.h
#	indra/newview/lldensityctrl.cpp
#	indra/newview/lldensityctrl.h
#	indra/newview/llface.inl
#	indra/newview/llfloatereditsky.cpp
#	indra/newview/llfloatereditwater.cpp
#	indra/newview/llfloateremojipicker.h
#	indra/newview/llfloaterimsessiontab.cpp
#	indra/newview/llfloaterprofiletexture.cpp
#	indra/newview/llfloaterprofiletexture.h
#	indra/newview/llgesturemgr.cpp
#	indra/newview/llgesturemgr.h
#	indra/newview/llimpanel.cpp
#	indra/newview/llimpanel.h
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llinventorybridge.h
#	indra/newview/llinventoryclipboard.cpp
#	indra/newview/llinventoryclipboard.h
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llinventoryfunctions.h
#	indra/newview/llinventorygallery.cpp
#	indra/newview/lllistbrowser.cpp
#	indra/newview/lllistbrowser.h
#	indra/newview/llpanelobjectinventory.cpp
#	indra/newview/llpanelprofile.cpp
#	indra/newview/llpanelprofile.h
#	indra/newview/llpreviewgesture.cpp
#	indra/newview/llsavedsettingsglue.cpp
#	indra/newview/llsavedsettingsglue.h
#	indra/newview/lltooldraganddrop.cpp
#	indra/newview/llurllineeditorctrl.cpp
#	indra/newview/llvectorperfoptions.cpp
#	indra/newview/llvectorperfoptions.h
#	indra/newview/llviewerparceloverlay.cpp
#	indra/newview/llviewertexlayer.cpp
#	indra/newview/llviewertexturelist.cpp
#	indra/newview/macmain.h
#	indra/test/test.cpp
2024-05-22 19:04:52 +02:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Ansariel 60d3dd98a4 Convert remaining BOOL to bool 2024-02-21 23:14:31 +02:00
Andrey Lihatskiy 48b121ab03 viewer#826 Follow-up buildfix: update lldatapacker 2024-02-17 20:09:16 +02:00
Lars Næsbye Christensen 9e854b697a misc: BOOL to bool 2024-02-17 12:23:07 +02:00
Ptolemy 41894327c3 SL-16606: Add profiler category AVATAR 2022-01-14 11:50:19 -08:00
Dave Parks 8d20480c5f SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton 2021-10-28 18:06:21 +00:00
andreykproductengine 78f96e6f0a MAINT-8190 Avatar Physics safety checks and better iteration spreading 2018-01-19 19:19:52 +02:00
Andrey Kleshchev d86616cc66 Merged in MAINT-8066 "Breasts Bounce" increases at low fps.
Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com>
Approved-by: Simon Linden <simon@lindenlab.com>
Approved-by: Maxim Nikolenko <maximnproductengine@lindenlab.com>
2017-12-11 13:50:24 +00:00
andreykproductengine 5ec95b7646 MAINT-7990 Fixed avatar physics twitching at high fps 2017-11-09 16:06:59 +02:00
andreykproductengine c0492e5448 MAINT-989 Velocity and acceleration should take time into account 2017-10-17 20:02:29 +03:00
andreykproductengine 86314969e6 Backed out MAINT-989, changeset: 0a9a1e276e57 2017-10-16 12:24:42 +03:00
andreykproductengine c8a932fa8a MAINT-989 Fixed Avatar Physics Vary Extremely With Different Framerates 2017-08-25 16:43:19 +03:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Brad Payne (Vir Linden) 82f147367f SH-3455 WIP - removing bake upload code 2013-09-19 11:10:59 -04:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Graham Madarasz 025c890958 Merge vwr-dev-mat 2013-05-01 08:11:15 -07:00
Graham Madarasz 806d09b114 Merge 3.5.1 into Materials 2013-04-30 19:50:05 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer c06c35609c Updating linux build to gcc4.6 2012-10-11 00:09:04 +00:00
Don Kjer 85d0bcc063 Extracted mWearableDatas from LLAgentWearables into llappearance/LLWearableData. Moved LLDriverParam into llappearance 2012-09-06 02:53:55 +00:00
Dave Parks 581e7e0c89 MAINT-646 Don't spend so much time fetching avatar physics params. 2012-06-06 17:15:20 -05:00
Dave Parks a25f898703 merge 2011-05-02 14:52:12 -05:00
Oz Linden 391bef0df0 fix DOS line endings 2011-04-22 16:03:31 -04:00
Loren Shih af6f2c8b22 SH-1381 FIXED Avatar Physics behavior is tightly tied to viewer framerate
Changed range of gain; previous range was too small.
2011-04-21 20:30:38 -04:00
Loren Shih 9c6dd947bd SH-1381 Avatar Physics behavior is tightly tied to viewer framerate
Changed physics algorithm to perform integration over several steps if framerate is slow.
Fixed a fundamental issue in the algorithm where timestep wasn't being used to calculate velocity changes.
Had to change around some parameter ranges since the physics are calculated slightly differently now.
2011-04-21 19:49:03 -04:00
Loren Shih 8b0640704d SH-1381 FIXED avatar physics behavior is tightly tied to viewer framerate
Breaking up physics into smaller integration steps.
2011-04-20 12:37:44 -04:00
Loren Shih 958a060172 SH-1384 FIXED AvatarPhysicsTest debug setting does not work
Took out setting, no longer needed.  Was formely restricted to gods.
2011-04-20 11:30:00 -04:00
Loren Shih b68d1a0f50 Merge viewer-pre-beta -> seraph-viewer-pre-beta 2011-04-20 11:26:12 -04:00
Loren Shih 6715603b6a cosmetic variable name change 2011-04-20 10:42:58 -04:00
Oz Linden 648d3e5b46 merge back additional 2.6.3 beta 2 fixes 2011-04-14 15:09:03 -04:00
Loren Shih 172bca783f SH-1364 FIXED Avatar Physics are not updating smoothly even for high-performance machines.
"high" graphics settings now give 100% updates, versus 90%.
Changed a simple constant that was acting as a threshold for when physics should be updated (the constant was set way too high, meaning that updates were being skipped).
2011-04-13 15:23:11 -04:00
Loren Shih a919cc4415 SH-1365 FIXED Avatar Physics don't behave well for less than 100% max effect
This change looks more complicated than it actually is.  I basically turned max effect into a scaling parameter, versus a clamping parameter.  Piece of cake, just moved some code around and made minor logic changes.
2011-04-13 15:21:16 -04:00
Loren Shih cf5b96bded SH-1365 FIXED Avatar Physics don't behave well for less than 100% max effect
This change looks more complicated than it actually is.  I basically turned max effect into a scaling parameter, versus a clamping parameter.  Piece of cake, just moved some code around and made minor logic changes.
2011-04-13 15:21:16 -04:00
Loren Shih 435117e812 SH-1329 FIXED Physics are "twitchy" for high-FPS machines
Fixed bug that was messing up time slices for physics.
2011-04-13 15:13:10 -04:00
Oz Linden 60ffa83c32 fix incorrect license headers 2011-04-09 21:57:01 -04:00
Oz Linden df329d14a9 pull tags and late fixes back from viewer-pre-beta 2011-04-08 09:25:36 -04:00
Loren Shih 4895b24e38 SH-1319 fix missing include 2011-04-07 13:23:01 -04:00
Oz Linden ef8ce5bf5e SH-1319: Fix for disappearing torso sections on avatars 2011-04-07 12:55:12 -04:00
Oz Linden a1a5a793a7 fix line endings (one missing, two files of DOS) 2011-04-06 08:13:44 -04:00
Seraph Linden 62ebe50a56 Added duplicate morph to handle breast bounce/clap. Took out unused params in llphysicsmotion.cpp. 2011-04-03 21:16:34 -04:00
Seraph Linden 01c236df47 Fix for butt gravity direction.
Added more displacement range for butt leftright.
2011-04-03 18:09:38 -04:00
Seraph Linden 05e23c39f7 Minor fixes. 2011-04-03 17:46:56 -04:00
Seraph Linden 9c3b0ddeaf Fix for compile error. 2011-04-03 17:27:11 -04:00