Commit Graph

6760 Commits

Author SHA1 Message Date
Shyotl
f2883801ec Harden context recreation texture handling. 2015-06-01 16:38:25 -05:00
Shyotl
c965df0901 3d perlin noise was not generating proper results. 2015-06-01 16:36:35 -05:00
Inusaito Sayori
1d2daaae71 [RLVa] @camunlock means no flycamming away from the avatar!! 2015-05-26 20:14:45 -04:00
Inusaito Sayori
46e9d874e0 [RLVa] Implement guts of @camdraw* 2015-05-26 07:51:05 -04:00
Inusaito Sayori
a9fd9e6f2a [RLVa] Cleanup for the last commits
camAvDist, camMax and camMin are now combined into:
-camPole: returns the saved pole of the highest degree
-updatePole: updates the saved pole to the highest degree when the related exception is changed
Poles are now cached in a map called m_Poles in the RlvHandler.
2015-05-26 07:50:21 -04:00
Inusaito Sayori
75ba6cc67d [RLVa] @camdistmax, @camdistmin
This needs testing, this all needs testing...
but hey, at least it's here, right?
2015-05-26 06:16:28 -04:00
Inusaito Sayori
1720f2ebe4 [RLVa] @camzoommax, @camzoommin
Reload current saved zoom for clamping when imposing this restriction, whether that be mouselook zoom or regular.
Also some code cleanup.
2015-05-26 05:34:05 -04:00
Inusaito Sayori
9616a43cb0 [RLVa] Implement core of @camdrawcolor, without actually hooking it up. 2015-05-26 02:50:24 -04:00
Inusaito Sayori
c42e501f6f [RLVa] @camavdist 2015-05-26 02:49:23 -04:00
Inusaito Sayori
210c97986d [RLVa] Rlv Options can be floats or LLColor3s too now. 2015-05-26 02:35:40 -04:00
Inusaito Sayori
323b49de17 [RLVa] @camunlock
Causes LLAgentCamera::unlockView() to not happen, this turns off camera orbits.
Enables sim camera constraints regardless of user preference.
Resets camera when turned on.
2015-05-26 01:05:37 -04:00
Inusaito Sayori
d81497d29f [RLVa] Skeleton for implementation of RLV 2.9 features. 2015-05-25 19:52:35 -04:00
Inusaito Sayori
e2347651e9 I dunno what this is... Code clean up? Sure. 2015-05-25 15:40:15 -04:00
Inusaito Sayori
dcb349d55d Satisfy Issue 1932: Totalgroup member count 2015-05-25 15:37:31 -04:00
Inusaito Sayori
5be98205d4 [RLVa] Allow offering calling card when name restricted.
Also cleanup dumb old code around this area
2015-05-25 14:27:50 -04:00
Inusaito Sayori
e7f4a1d5a2 Cure us of Issue 1931: UI Cleanup - Stacked Notice Windows 2015-05-25 14:26:33 -04:00
Shyotl
a7ba5145cc Inline shader uniform setters, and cache values in vectors instead of maps. Also, deleted mUniformNameMap, mUniformNameMap, and uniform2i, as they were unused. 2015-05-23 17:16:02 -05:00
Shyotl
d4a56c6d94 Toss attachments into their own bridge that sets their type to TYPE_AVATAR, and use generic bridge for plain old 'active' volumes. Resolves issue where non-attached ACTIVE flagged linksets would be included in the avatar render type, and thus would vanish when such type was disabled. 2015-05-22 16:14:57 -05:00
Inusaito Sayori
36347aba83 [RLVa] Censor Report Abuse floater
This shouldn't matter because it only censors the ui elements, everything else the floater sends is untouched, ids and actual name variables...
It annoyed me that pie menu could work around @shownames and @shownametags restrictions.
2015-05-22 16:53:43 -04:00
Inusaito Sayori
4f8cbb8c06 [RLV] 2.9: @shownametags
This hides name tags and names whenever possible, except from chat.. when not possible, falls back on anonyms

Changed: Radar no longer hidess based on @shownames, that's silly.. now radar hides names when @shownames
Radar will alert when @shownames restricted, but not when @shownametags restricted
Radar will not offer menu when @shownames or @shownametags restricted, and the IM and Profile buttons will disable.

Hopefully fixed broken RLVa logic in llfloaterobjectiminfo.cpp
Fix slightly broken RLVa logic code in llpanelpermissions.cpp
Changed: Range Finder now disallowed when minimap disabled, show loc restriction doesn't change it anymore.
Fix broken hiding of names when offering teleports; rlv_shownames param doesn't seem to always pass, work around those situations...
^-This causes some false positives, I suppose, if you offer teleport from friends list to someone in the region, but better safe than sorry.
2015-05-22 16:53:32 -04:00
Inusaito Sayori
aa1e0ce067 Feature Request: Add option to hide own look at beacon(from Alchemy)
Option is in System->Security & Privacy, at the top with the rest of the lookat options.

Syncs llhudeffectlookat with Alchemy
2015-05-20 21:09:56 -04:00
Inusaito Sayori
eec85de620 Allow operating with linked folders as though they were mostly folders, show clipboard menu entries on all folders (except COF)
Paste pastes into the linked folder, you've been warned.
2015-05-20 13:19:57 -04:00
Inusaito Sayori
03f2192684 At the request of Aleeri in group, add support for EXP-901
Notifies nonfriends when their chat is blocked
This is instead of showing the muted autoresponse message, so only muted people will see it now.

Also cleans up some excess autoresponder code.
2015-05-20 11:31:28 -04:00
Inusaito Sayori
078a6980b9 Feature: Find on Map from IM floater's flyout menu. 2015-05-19 11:49:35 -04:00
Inusaito Sayori
1fcb478a2a Offer Sit on away option in World->Status submenu. 2015-05-19 06:59:28 -04:00
Inusaito Sayori
9e482bcb22 Correct Issue 1925: Dark Skin Group Notice Window 2015-05-19 06:59:04 -04:00
Inusaito Sayori
2bb4df78ad Fix block conference options not being selectable from preferences.
Thanks to Nomade Zhao for pointing this out!!
2015-05-19 06:58:18 -04:00
Inusaito Sayori
63d7e18456 Selectable cloud textures (from Alchemy)
Option is in Clouds tab of the Advanced Sky Editor.
2015-05-19 06:57:26 -04:00
Inusaito Sayori
9ed99176f7 Fix combo boxes with control_names not starting with the right value.
TODO: Fix the existing workarounds all everywhere... mostly in prefs.
2015-05-19 06:53:06 -04:00
Inusaito Sayori
38983e30fb Cleanup code a bit in snapshot floater and make stuff look nicer there too. 2015-05-19 06:39:25 -04:00
Shyotl
af020ad558 LLViewerShaderMgr::setShaders() should be called unconditionally upon restoreGL. 2015-05-18 15:36:50 -05:00
Shyotl
55e3ddb465 Can't you just be happy GCC? It's all I've ever wanted. 2015-05-18 14:02:39 -05:00
Inusaito Sayori
b7f2d741e7 Merge branch 'master' of git://github.com/Shyotl/SingularityViewer 2015-05-16 04:13:11 -04:00
Shyotl
690f3614c1 Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
Conflicts:
	indra/llrender/llpostprocess.cpp
2015-05-16 02:53:19 -05:00
Shyotl
f827d77600 Verify CoInitialize call was successful (on Windows only). 2015-05-16 02:31:32 -05:00
Shyotl
48c0c6eb39 Format specifier %zu is invalid with visual studio. Use %Iu for that platform, instead. 2015-05-16 02:31:16 -05:00
Shyotl
966c5aa409 Remove redundant methods of checking if shaders are enabled. Just use LLGLSLShader::sNoFixedFunction. 2015-05-16 02:31:06 -05:00
Shyotl
2131067436 LLPerlin #include cleanup. 2015-05-16 02:30:57 -05:00
Shyotl
aa9cc7a50d Fixed div-by-zero issues in LLStat. 2015-05-16 02:30:36 -05:00
Shyotl
8943439629 Remove dupilicate perlin noise impl, and update the remaining one. 2015-05-16 02:30:32 -05:00
Inusaito Sayori
2c1f1255fa FMOD Studio 1.06.01 2015-05-15 16:15:54 -04:00
Inusaito Sayori
f79b28117d translate preview flyout_button where button was previously translated. 2015-05-15 06:34:24 -04:00
Inusaito Sayori
173de071f6 There is no wind under water. 2015-05-15 03:51:57 -04:00
Inusaito Sayori
a4da61ae0b Ease up enable_move and enable_rotate restrictions in object tab of build tools.
Also cleans up duplicate logic

Explanation and Justification:
Move permission is needed to rotate and move
Move and rotate are actions you can perform via manip tools on attached linked prims already
This just enables the GUI controls for something that was already doable via other means such as mouse.
2015-05-15 02:07:35 -04:00
Inusaito Sayori
580a7a4599 Additional buttons was pushing text off the edge of area search, refresh and stop are now icons. 2015-05-15 01:07:57 -04:00
Inusaito Sayori
d02df9e451 Can minimize the local chat floater. 2015-05-15 01:06:31 -04:00
Inusaito Sayori
4e4dbd4012 Satisfy Issue 1916: Local Gesture Preview/Play
Adds a dropdown option to gesture preview button to preview locally.
Note that any chat commands in gestures will still work as they normally would!

Translators: do your thing or hold your peace. (floater_preview_gesture.xml)

These code changes will look nicer viewer without space changes~
2015-05-14 23:55:20 -04:00
Inusaito Sayori
8e05524027 Add TP and Look options to area search (happy now?) 2015-05-14 11:22:36 -04:00
Inusaito Sayori
67836ecf67 Actually, show the blue warning, it's intentional, it's only a warning.. 2015-05-14 09:31:15 -04:00
Inusaito Sayori
a974ca096c Allow setting the label of a flyout button dynamically in code. 2015-05-14 07:30:49 -04:00