Commit Graph

79 Commits (599107a0b4fbff5e23bccc4c5a7dbeb3c2f620e1)

Author SHA1 Message Date
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Mnikolenko ProductEngine 1c08b2a2e9 MAINT-1968 FIXED Reset camera when toggling flying same as all other methods. 2015-07-06 12:12:27 +03:00
Richard Linden 5b846ed2a6 merge with release 2014-03-12 12:48:43 -07:00
Richard Linden 5866bb7ef0 merge with release 2014-02-12 10:32:02 -08:00
simon 4acc2dc273 Merge viewer-release 2014-02-10 15:42:25 -08:00
Oz Linden 6bd777214c add callbacks to LLAgent for Region and Parcel changes 2013-11-18 19:05:34 -05:00
maksymsproductengine 01a7002228 MAINT-3163 FIXED Since CHUI, floaters can be moved totally underneath bottom toolbar buttons and "lost". 2013-09-26 00:34:00 +03: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 bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Dave Parks 7aca8ad6b8 MAINT-1534 Fix for calls to find widgets getting out of hand. 2012-09-11 15:55:36 -05:00
Todd Stinson 01545997da PATH-788: Adding more state information for the rebake region button to capture and display the rebaking states. Also, altering how the stop flying button works so that it does not hide the entire panel. 2012-06-27 13:30:01 -07:00
Todd Stinson e4aa203881 PATH-702: Positioning the rebake navmesh button to align with the Stand/StopFlying buttons. Also, parenting the buttons to the toolbar UI elements. 2012-06-19 17:20:24 -07:00
callum ed53295cb3 EXP-1322 FIX Stand / Stop Flying button should be centered above the bottom toolbar at all times 2011-10-12 12:55:37 -07:00
Paul ProductEngine 8154c245dd EXP-1281 FIXED (As a FUI user, I want all bottom bar floaters to become independent)
Made bottom bar dependent floaters independent from it. Also some LLTransientDockableFloaters are just LLFLoaters now.

Note: IM Floater and SysWellWindow will be made independent within EXP-1276
2011-10-11 18:14:37 +02:00
Leslie Linden 0587924283 * Updating "Move" floater to be more FUI-like 2011-10-04 14:55:55 -07:00
Richard Linden ca2141ce90 merge with viewer-dev 2010-12-08 16:04:07 -08:00
Vadim ProductEngine e03e3257ab STORM-730 FIXED Made Movement Controls, Camera Controls and Nearby Voice floaters use active floater transparency. 2010-12-06 19:19:31 +02:00
Monroe Linden 1e050c2ed8 merge 2010-12-02 14:33:42 -08:00
Nat Goodspeed 2f6062e597 Remove erroneous 'inline' on LLPanelStandStopFlying::getInstance()
This is ignored by every compiler except Linux g++ 4.4.3 in Release mode. In
that case, it literally does cause getInstance() to be inlined, therefore
llmoveview.o contains no such symbol, therefore the Linux viewer link fails in
Release mode. But for a method implementation in a .cpp file of a method
declared in a .h file, 'inline' is just wrong. Removing it fixes Release build.
2010-11-03 11:08:04 -04:00
Richard Linden 93faa08da9 EXP-128 FIX Stand button displays partially offscreen 2010-09-30 20:19:24 -07:00
Richard Linden 1f7ff277d4 EXP-128 FIX Stand button displays partially offscreen 2010-09-30 20:08:53 -07:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Nelson 02d8197019 changed buildPanel/buildFloater to member functions buildFromFile
streamlined LLUICtrlFactory's interface
2010-08-20 10:14:28 -07:00
Richard Nelson c20bd2dfee cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
2010-08-16 15:00:51 -07:00
Richard Linden 2c999688c4 added remaining hints and fade in/fade out behavior 2010-08-12 15:18:25 -07:00
Richard Nelson be50a053ed first pass at hints 2010-08-12 09:46:45 -07:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Mike Antipov d3d39b98aa EXT-8458 FIXED ensure that static pointer to instance of LLPanelStandStopFlying is always valid to prevent crash.
Consequences of root cause:
 Static pointer to LLPanelStandStopFlying in LLPanelStandStopFlying::getInstance() becomes invalid when the instance of the LLPanelStandStopFlying is a child of floater while it is destroying.
 Next usage of that pointed cause a crash.

Root Cause:
 1. LLFloater::closeFloater sets floater invisible and marks floater as "dead" but does not destroy it.
 2. But that instance was still in LLFloaterReg map. It is removed in LLFloater's destructor.
 3. So it was possible on low fps to get "dead" floater with LLFloaterReg, LLFloaterMove in this case.
 4. Then LLMortician deleted floater instance shown on previous step.
    Call of setVisible(false) from the LLFloater's destructor does not call overridden LLFloaterMove's method (which is expected behavior.)
    So, child panel LLPanelStandStopFlying was not re-parented to Main View and was destroyed with LLFloaterMove.
    That leaded to the "Top Reason" described above.

FIX:
1. Ensure that LLPanelStandStopFlying is not a child of LLFloaterMove on its destroying.
2. Synchronized removing of a floater instance from the LLFloaterReg when it is marked as "dead".

Note: both changes fixes this bug independently, but I included both of them into result patch to avoid similar but in the future.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/781/

--HG--
branch : product-engine
2010-07-20 15:17:46 +03:00
Andrew Dyukov 36bf984b03 EXT-7872 FIXED Removed disabling of movement controls when sitting.
- Removed code responsible for disabling actions panel when sitting.

- Removed LLFloaterMove::setEnabled() and replaced calls to it with calls showModeButtons() because it was the only code which remained there after first step of this fix.

Reviewed by Leyla Farazha at https://codereview.productengine.com/secondlife/r/655/

--HG--
branch : product-engine
2010-06-25 17:55:24 +03:00
Andrew Dyukov 73e6407af8 EXT-2493 FIXED Added strafe buttons.
- Added slide left and Move right buttons to movement actions panel, when inserting them in xml organized buttons in panel into 3 columns to make their position more easily configurable.

- Removed hiding of fly up and down buttons. When not flying(in walk/run mode) they act as jump ans crouch.

- Added movement mode(walk/run/fly) dependent tooltips for fly/jump/crouch and slide buttons.

- Added comment regarding implementation of move floater buttons toggling when user moves via keyboard (because it's not quite obvious and time consuming when you first encounter it) to LLFloaterMove::postBuild().

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/360

--HG--
branch : product-engine
2010-05-07 22:07:01 +03:00
Tofu Linden 1c352ebb5b repair merge from viewer-hotfix w.r.t. agent API changes. 2010-04-19 15:23:04 +01:00
Tofu Linden 532d732645 merge from viewer-hotfix 2010-04-19 14:22:05 +01:00
Eugene Mutavchi ea6a3e8e78 Updated the reverted fix for critical bug EXT-1655 ([BSI] Always flying after pressing "Stand" to stand up from an object), also integrated the fix for EXT-6786 ('Stand' button is corrupted if movement control floater is opened). Added some clarifying comments.
Reviewed by Tofu Linden at https://codereview.productengine.com/secondlife/r/253/.

--HG--
branch : product-engine
2010-04-19 13:32:07 +03:00
Mike Antipov 1361d95056 Updated fix for major bug EXT-6786 ('Stand' button is corrupted if movement control floater is opened)
Added force hiding of Stand button to avoid seeing Stand & Move buttons at once for a short moment.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/233/

--HG--
branch : product-engine
2010-04-15 16:31:47 +03:00
Mike Antipov dd73ac682e Fixed major bug EXT-6786 ('Stand' button is corrupted if movement control floater is opened)
This issue is a regression of EXT-1655: Move Floater is notified about "not flying" after it was notified about "sitting".

Fix: taking into account siting mode while notifying about "flying".

Reviewed by Eugene Mutavchi at https://codereview.productengine.com/secondlife/r/233/

--HG--
branch : product-engine
2010-04-14 17:26:26 +03:00
Loren Shih 58d76a9ecf EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup to replace all instances of "gAgentAvatar" with "gAgentAvatarp".
2010-03-29 12:11:51 -04:00
Loren Shih 94e6e10739 EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup to replace all instances of "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject" with "gAgentAvatar".
2010-03-29 12:00:26 -04:00
Loren Shih fc49539b36 EXT-2959 : Full out camera functions from llagent to llagentcamera
First check-in; only compiles, nothing more.
2010-03-23 15:59:52 -04:00
Mike Antipov 4d978eaf0a No ticket. Code cleanup: remove deprecated StopFlying button from the Move Floater.
It uses separate button from Stand/Stop Flying panel

--HG--
branch : product-engine
2010-02-25 17:53:45 +02:00
Mike Antipov bf25f3fd00 Work on normal bug EXT-4518 (movement & camera floaters should have window titles)
-- done for Move floater.
-- deprecated comments cleaned up

--HG--
branch : product-engine
2010-02-25 16:37:31 +02:00
Mike Antipov 8e134590e6 Fixed low bug EXT-871 ("Stop Flying" button isn't displayed after standing up)
- moved code to show Stop Flying button in a common place for both cases: click on "Stand" btn & call "Stand Up" menu item

--HG--
branch : product-engine
2010-02-18 18:42:31 +02:00
Mike Antipov 943f8afa09 Fixed normal bug EXT-4743 ('Stop flying' button disappears if minimize undocked movement controls)
- synchronized visibility of "stand_stop_flying_container" with a panel visibility when it is reparented from the Move Floater to container.

--HG--
branch : product-engine
2010-01-29 14:25:50 +02:00
Mike Antipov 3a0226824b Fixed normal bug EXT-4718 ( Stop Flying button is displayed in the mouse look mode)
- restore base processing of visibility of Panel with "stand/stop flying" buttons broken in EXT-2504

--HG--
branch : product-engine
2010-01-26 17:04:13 +02:00
Mike Antipov 71d4740251 Fixed EXT-4646 ([BSI] Movement controls close after hitting stand)
- reason: fix for bug EXT-2504 (black bars present at top and bottom when in mouselook) (changing parent visibility of panel with "Stand/Stop flying" buttons)
- fix: updated condition to process visibility of the parent of the panel with "Stand/Stop flying" buttons: only if panel is not attached to Move Floater
	NOTE: The same problem was for EXT-3632 (Move floater closes after user click on Stop Flying btn)
	Reverted that fix for Stop flying button to be consistent with "Stand".

--HG--
branch : product-engine
2010-01-26 16:15:26 +02:00
Alexei Arabadji 3aabd408bd fixed EXT-3632 “Move floater closes after user click on Stop Flying btn”;
--HG--
branch : product-engine
2009-12-25 14:04:06 +02:00
Yuri Chebotarev 45b859b50b working on EXT-2781
this is extra and useless callback since setFlyingMode will be called from OnStopFlyingButtonClick.

--HG--
branch : product-engine
2009-12-21 12:13:29 +02:00
Andrew Dyukov fc3b068d2e Removed unnecessary string which occasionally apeeared in bc42d3e21160.
--HG--
branch : product-engine
2009-12-14 21:42:41 +02:00
Andrew Dyukov 7068d77ca3 Fixed minor bug EXT-3045 ("Move" buttin seems to be unpressed while Move controls
panel is active (refer to screenshot)).

--HG--
branch : product-engine
2009-12-14 21:38:22 +02:00
Paul Guslisty 61d4514612 fixed low bug EXT-2963 (Buttons in Move floater don't have tool-tips)
--HG--
branch : product-engine
2009-12-04 14:47:58 +02:00
richard d4dc4cfddc EXT-2460 - mouselook mode - remove unused UI elements
EXT-2504 - black bars present at top and bottom when in mouselook

reviewed by Leyla
2009-11-23 11:46:35 -08:00