aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-1186/+1780
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-221/+697
2013-01-25Fix exception reporting in SceneObjectPart so it logs what the exception is ↵Robert Adams1-2/+2
rather than just saying it happened.
2013-01-04Fix llGetLinkKey() to return the last sat avatar as the last link number.Justin Clark-Casey (justincc)1-40/+39
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
2012-12-18Replace axis rotation numeric constants (STATUS_ROTATE_XYZ) with symbols. ↵Robert Adams1-6/+6
Also made it so llSetStatus() can individually enable disable rotation axi using the bitmask of flags.
2012-12-15minor: If the physics module tells us that an object has gone out of bounds, ↵Justin Clark-Casey (justincc)1-2/+5
more helpfully log the name, id, position and region of that object.
2012-12-14Fix issue where calling llVolumeDetect(FALSE) would not remove phantom flag, ↵Justin Clark-Casey (justincc)1-1/+2
causing subsequent issues if physics was re-enabled. Added regression tests Addresses http://opensimulator.org/mantis/view.php?id=6365
2012-10-29shuffling code around so that the interface for ISoundModule.SendSound() ↵SignpostMarv1-1/+1
specifies a UUID rather than a string
2012-10-29moving SendSound from SceneObjectPart to ISoundModuleSignpostMarv1-79/+9
2012-10-29fixing a bug in SceneObjectPart.SendSound where sounds would always come ↵SignpostMarv1-9/+8
from the root prim rather than the source prim
2012-10-29Factoring out a superfluous local variable & repeated assignment in ↵SignpostMarv1-10/+8
SceneObjectPart.SendSound as linksets are only meant to have a single owner
2012-10-29removing superfluous lines from SceneObjectPart.SendSoundSignpostMarv1-8/+0
2012-10-29transposing preload sound onto sound moduleSignpostMarv1-31/+0
2012-10-29formatting changes to SceneObjectPart.SendSound; consistent indentationSignpostMarv1-34/+34
2012-10-29SceneObjectPart.SendSound can exit early if a sound module was not found.SignpostMarv1-4/+4
2012-10-29Changing the logic order in the TaskInventory iterator of ↵SignpostMarv1-1/+1
ScenObjectPart.SendSound, since we can currently have non-unique object inventory names so we should check the asset type first.
2012-10-29Replacing double-if block in SceneObjectPart.SendSound with Util.ClipSignpostMarv1-4/+1
2012-10-19normalize quaternion.Slerp outputsUbitUmarov1-0/+1
Signed-off-by: Melanie <melanie@t-data.com>
2012-10-18Remove extraneous calls to the now commented CheckSculptAndLoadMelanie1-24/+0
2012-10-18[DANGER UNTESTED] ODE mesh assets. Other plugins will not do meshs/sculptsUbitUmarov1-12/+16
now Signed-off-by: Melanie <melanie@t-data.com>
2012-10-05Add bool to TriggerSceneObjectPartUpdated where full = true indicates a full ↵Dan Lake1-2/+2
update. There should be a better way to indicate which properties have changed that is non LLUDP-centric
2012-09-27Add MaxPrimsUndo config setting to [Startup] section of OpenSim.ini.Justin Clark-Casey (justincc)1-6/+6
This controls how many undo steps the simulator will store for each prim. Default is now 20 rather than 5 as it briefly was. The default number could be increased through this is a memory tradeoff which will scale with the number of prims in the sim and level of activity.
2012-09-26Don't store undo states if a scene object is manipulated when it is not in a ↵Justin Clark-Casey (justincc)1-3/+3
scene. Adds regression test for this.
2012-09-26refactor: Change control structures in SOP.StoreUndoState() to reduce nesting.Justin Clark-Casey (justincc)1-45/+43
2012-09-26Make it possible to rescale SOGs when they are not in a scene.Justin Clark-Casey (justincc)1-8/+12
2012-09-26Enforce existing 5 action hardcoded undo limit.Justin Clark-Casey (justincc)1-26/+33
This was present in the code but not enforced, which led to a memory leak over time as part properties were changed, whether by viewer, script or another source. This commit enforces that limit, which will soon become configurable. Regression test for undo limit added Should help with http://opensimulator.org/mantis/view.php?id=6279
2012-09-26Add basic undo/redo regression tests.Justin Clark-Casey (justincc)1-6/+6
2012-08-24Fix bad child prim permissions that can make objects change perms after rezzingMelanie1-0/+21
Port from Avination
2012-08-20refactoring out SetFaceColorSignpostMarv1-52/+15
2012-08-20making use of implicit operators and Util.Clip handling of Vector3SignpostMarv1-21/+26
2012-08-20single operation for PRIM_COLORSignpostMarv1-0/+49
2012-08-20fix typoSignpostMarv1-1/+1
2012-08-17fixing bug that get/set the wrong property for prim types other than sphere ↵SignpostMarv1-1/+2
& box
2012-08-17implementedSignpostMarv1-0/+50
2012-08-15Correct an exception report in SceneObjectPart so it outputs the stack.Robert Adams1-1/+1
2012-08-15enables configurable minimum sizes for physical & non-physical primsSignpostMarv1-7/+6
2012-08-03ImprovedTerseObjectUpdate packet does not support shape updates, thus ↵SignpostMarv1-1/+1
scheduling terse updates will not (and does not) update shape information in the viewer
2012-07-11Many explanitory comments added to the link and delink code inRobert Adams1-8/+20
SOG and SOP. Should have no functionality changes.
2012-07-10refactor: move management of SOP.SitTargetAvatar into SOP.AddSittingAvatar() ↵Justin Clark-Casey (justincc)1-0/+6
and SOP.RemoveSittingAvatar()
2012-07-10Revert "refactor: Add SOP.IsSitTargetOccupied to improve readability"Justin Clark-Casey (justincc)1-6/+1
This reverts commit c8f0d476d2f775ba4d7afca12eeff527b46bb8e2. On reconsideration, I think this is less readable since immediately following code still sets SitTargetAvatar directly
2012-07-10refactor: Add SOP.IsSitTargetOccupied to improve readabilityJustin Clark-Casey (justincc)1-1/+6
2012-07-10Move common code to detect whether a part has a valid sit target into a SOP ↵Justin Clark-Casey (justincc)1-0/+15
property rather than being repeated in SP. This also makes the detection in SP.FindNextAvailableSitTarget() and SendSitResponse() identical. Previously they varied slightly (SendSitResponse didn't check for an older type of invalid quaternion) but the practical effect is most probably zero.
2012-07-10Fix recent SOP.GetSittingAvatars() to return null if there are no sitting ↵Justin Clark-Casey (justincc)1-2/+12
avatars rather than throwing an exception. Extends sitting avatar regression tests to test new sitters information
2012-07-09Do not allow a script to attach a prim if its being sat upon.Justin Clark-Casey (justincc)1-7/+91
This prevents a stack overflow where a get position on the avatar will refer to the attachment which will in turn refer back to the avatar. This required recording of all sitting avatars on a prim which is done separately from recording the sit target avatar. Recording HashSet is null if there are no sitting avatars in order to save memory.
2012-06-20refactor: use SOG.HasPrivateAttachmentPoint in SOP.SendTerseUpdateToClient() ↵Justin Clark-Casey (justincc)1-2/+3
instead of attachmentpoint magic numbers.
2012-06-20minor: If logging because mesh/sculpt data isn't present for an object, log ↵Justin Clark-Casey (justincc)1-1/+1
object UUID rather than local id, since UUID doesn't potentially vary between simulator starts.
2012-06-14Add SOG.HasPrivateAttachmentPoint to tell if a SOG has a private attachment ↵Justin Clark-Casey (justincc)1-2/+3
point. HUDs attachment points are private. Change SOP.SendFullUpdateToClient() and SoundModule.PlayAttachedSound() to use this rather than different magic number formulations. This also corrects a bug in PlayAttachedSound() where the code assumed that all attachment points over 30 were HUDs. It appears this is no longer true with Neck and Root (Avatar Center)
2012-05-29Fix collision filtering. The filter should be checked on the receiving part!Melanie1-9/+9
2012-05-15Fix issue where loading OARs could sometimes result in link numbers being ↵Justin Clark-Casey (justincc)1-1/+12
reordered. This was because the parts in scene objects were sometimes not serialized in link order. This is perfectly fine since the parts still have the right link numbers, but an extra fix to adjust for this had not been done in the SerialiserModule methods that OAR loading used. Add regression test for same. Addresses http://opensimulator.org/mantis/view.php?id=5948, http://opensimulator.org/mantis/view.php?id=5749
2012-05-14Add another null check to Melanie's last commit. Seems to eliminate sqlite ↵dahlia1-1/+1
errors in log but no idea if it's working properly