aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-21Have SOP and LSL_Api call the proper GetCenterOfMass and GetGeometricCenterRobert Adams1-0/+10
routines on the physics engine. Won't make a difference for any existing scripts since ODE always returned Vector3.Zero.
2013-01-19Check the existing ScenePresence.ParentPart to make sure we're not trying to ↵Justin Clark-Casey (justincc)1-2/+1
sit on a prim we're already sat upon, rather than looking up the part from scratch. An adaptation of commit 055b8a2 Having both ParentID and ParentPart references now is redundant. ParentID should probably be eliminated.
2013-01-18Add "debug set set animations true|false" region console command.Justin Clark-Casey (justincc)2-5/+33
Setting this logs extra information about animation add/remove, such as uuid and animation name Unfortunately cannot be done per client yet
2013-01-18Restore previous client AO behaviour by not allowing them to remove the ↵Justin Clark-Casey (justincc)3-6/+25
default animation but continue to allow scripts to do so. This keeps the fix from http://opensimulator.org/mantis/view.php?id=6327 and fixes the behaviour regression in http://opensimulator.org/mantis/view.php?id=6483 Animations may still exhibit different behaviour if both scripts and clients are adjusting animations. A change in the behaviour of client AO to not remove all animations may be a better long term approach.
2013-01-16 dont send a full grp update on stopmovetotarget. just a rootpart terseUbitUmarov2-1/+3
2013-01-16JustinCC's core re-mergeMelanie1-3/+23
2013-01-16Implement co-operative script termination if termination comes during a ↵Justin Clark-Casey (justincc)1-3/+23
script wait event (llSleep(), etc.) This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability. If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread. This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period. Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented. This commit, unlike 1b5c41c, passes the wait handle as an extra parameter through IScript.Initialize() instead of passing IScriptInstance itself.
2013-01-16Revert "Implement co-operative script termination if termination comes ↵Justin Clark-Casey (justincc)1-23/+3
during a script wait event (llSleep(), etc.)" Doing this as a favour to Melanie. This will be back with passing the wait handles directly to the api. This reverts commit 1b5c41c14ad11325be249ea1cce3c65d4d6a89be.
2013-01-16Implement co-operative script termination if termination comes during a ↵Justin Clark-Casey (justincc)1-3/+23
script wait event (llSleep(), etc.) This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability. If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread. This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period. Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented.
2013-01-15Add Refresh() Method to ISerachModule to allow forcing a sim to resend it'sMelanie1-1/+1
search data
2013-01-14move resit fix to ScenePresence.cs and allow for requesting sit on objects ↵dahlia1-0/+4
other than the object currently sat on
2013-01-11Fix exception reporting in SceneObjectPart so it logs what the exception is ↵Robert Adams1-2/+2
rather than just saying it happened.
2013-01-11 go back bypassing sog updates control (test)UbitUmarov1-12/+12
2013-01-11update the last information sent in terse updates where they are sent to allUbitUmarov1-10/+19
clients and not only on Scheduled sends
2013-01-11 remove redundant lastPhysGroupPos and lastPhysGroupRot checksUbitUmarov1-16/+3
in SOG Update(). rootpart does more complet checks
2013-01-11 same for AngularVelocity. Use normal terse updates in place of sendingUbitUmarov1-10/+18
imediatly. If that's good for physics, needs to be good for this
2013-01-11keyframe. Don't use group UpdateRotation since this enqueues a terseUbitUmarov1-2/+6
update and we are sending them imediatly
2013-01-11Save attachments on detach/exit if a contained script state has been changed.Justin Clark-Casey (justincc)1-0/+3
This involves making Attachments module listen for start/stop script changes. It also involves removing the script from the region on detach in the same manner as every other DeleteSceneObject() call rather than simply stopping it This is necessary tue to the bad assymetry of start and stop script triggers but it appears to be the correct behaviour anyway, as detached objects are completely gone from the sim. Not just in a state where their scripts have been stopped.
2013-01-10Move scene debug commands into separate module. Command changes from "debug ↵Justin Clark-Casey (justincc)2-94/+102
scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
2013-01-10refactor: route the final scene backup through the same code that handles ↵Justin Clark-Casey (justincc)1-10/+1
periodic backup This is rather than making unnecessary duplicate checks that the SOG later performs again.
2013-01-10Add "debug scene pbackup true|false" console command. This enables or ↵Justin Clark-Casey (justincc)1-9/+30
disable periodic scene backup. For debug purposes. If false, scene is still saved on shutdown.
2013-01-09Change IsRoot to use ReferenceEquals to prevent operator == messinessMelanie1-1/+1
2013-01-09Revert "Prevent empty Anim Packs"Melanie1-12/+0
This reverts commit 5561333668f61f043cdfc0733a4eb50a1bcfb14e.
2013-01-09Revert "Fix sequence id fr default anim"Melanie1-1/+1
This reverts commit a775931a0cec9f65748c6e20dd2695edcbe21b7f.
2013-01-08Fix sequence id fr default animMelanie1-1/+1
2013-01-08Prevent empty Anim PacksMelanie1-0/+12
2013-01-09Revert "Prevent empty Anim Packs"Melanie1-12/+0
This reverts commit ab053df706055b0aa8fe2d10f89488be97d36841.
2013-01-09Revert "Fix sequence id fr default anim"Melanie1-1/+1
This reverts commit 8f37f2ca7edd408f30165fef9817375a9813ce90.
2013-01-08Fix sequence id fr default animMelanie1-1/+1
2013-01-08Prevent empty Anim PacksMelanie1-0/+12
2013-01-08Remove now superfluous update of m_lastSizeMelanie1-3/+0
2013-01-08 also update m_lastSize in SendAvatarDataToAllAgents so more paths updateUbitUmarov1-0/+2
it
2013-01-08Prevent avatar data from being sent during login when it's not valid andMelanie2-2/+6
crashes login on some viewers.
2013-01-08Revert "Remove sending AvatarData because this also happens on login, where ↵Melanie1-1/+9
it chokes" This reverts commit d1fa650c3f16ee74cd39d9258c5ef7aa4869ca03.
2013-01-08Remove sending AvatarData because this also happens on login, where it chokesMelanie1-9/+1
Firestorm, Singularity and other viewers with the new appearance pipeline.
2013-01-08 put back position and rot change check before sending releasing plane constrainUbitUmarov1-4/+7
2013-01-08 reduce sampling of camera raycasts to previus valueUbitUmarov1-23/+26
2013-01-08* DAnger, TEST * change camera plane collision detection. Still bounces onUbitUmarov1-49/+59
* prim edges due to camera lag
2013-01-07 in raycast for camera exclude self detectionUbitUmarov1-3/+2
2013-01-04Fix llGetLinkKey() to return the last sat avatar as the last link number.Justin Clark-Casey (justincc)2-46/+68
As per http://wiki.secondlife.com/wiki/LlGetLinkKey This is done by keeping a scene-object wide list of sitters. This also fixes bugs in this function where linknums 0 and 1 weren't treated properly if there were sitting avatars on a single prim. This also fixes a minor race condition for multiple concurrent sitters on a prim with no current sitters by locking on the object-wide list rather than individual sop lists Addresses http://opensimulator.org/mantis/view.php?id=6477
2013-01-03check land permitions on sit target for unscripted sitsUbitUmarov1-0/+17
2013-01-03make ResetMoveToTarget cancel any 'force' waiting to be applied to avatarUbitUmarov1-7/+2
( by the odd use of Velocity)
2013-01-03cancel MoveToTarget (viewer 'go here") on sitsUbitUmarov1-2/+22
2013-01-02Fixed several problems with the Sun: some settings didn't work, or were ↵Oren Hurvitz2-35/+6
inconsistently used. - The sun position is always calculated by combining the sun settings in the Region and Estate. This fixes the problem that 'UseEstateSun' didn't work. - To remove ambiguity, the EstateToolsSunUpdate event no longer accepts the sun's position as parameters. That's because the position is always calculated from the Region and Estate settings. - Use only the 'FixedSun' flag to determine whether the sun is fixed; not the 'UseGlobalTime' flag. - Don't change the region's 'SunPosition' field according to the sun's position: this field is used only to set the position when using a FixedSun. (The 'SunVector' field does get updated according to the sun's position in the sky)
2013-01-02*TEST* avatar unscripted sit. Some guessing/automationUbitUmarov1-2/+4
2012-12-29* This finishes the implementation of AgentCachedTexture. Requires the ↵teravus1-2/+2
XBakes Module and service for full functionality. Previous no-cache functionality works without the service and module. In some ways, I would have been happier not putting an AssetBase in WearableCacheItem.. but turns out it was probably unavoidable. No additional locks, yay.
2012-12-28ScenePresence passes the avatar rotation down to the physics engine. This ↵Robert Adams1-0/+4
will be a no-op for ODE but enables asymmetrical avatars for BulletSim.
2012-12-27Add check to always push terse updates for presences that have new ↵Robert Adams1-3/+8
velocities of zero.
2012-12-21* Partial Commit for Avatar Appearance to include the functionality of ↵teravus2-12/+21
Cached Bakes.
2012-12-19* Send an Unsolicited AgentDataUpdate packet upon Root Agent Status to ↵teravus1-0/+20
synchronize with Agni.