aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2012-05-15Guard against null root part on SQLite. This really needs to be fixed so SQLiteMelanie1-1/+1
loads roots before children like MySQL does.
2012-05-15Try to fix sqlite breakageMelanie1-0/+3
2012-05-15Port Avination's collision fixes to core.Melanie1-501/+181
2012-05-09Remove physics actor related race conditions in SetVehicleFlags() and ↵Justin Clark-Casey (justincc)1-7/+9
SetPhysicsAxisRotation() sop.PhysActor can currently become null at any time.
2012-04-22Fix bug where setting phantom on a prim would result in a server log message ↵Justin Clark-Casey (justincc)1-3/+6
rather than setting phantom. This was an oversight when removing some race conditions from PhysicsActor setting recently. Regression tests extended to probe this code path. Extending regression tests required implementation of a BasicPhysicsPrim (there was none before). However, BasicPhysics plugin is still of no current practical use other than to fill in as a component for other parts of regression testing.
2012-04-21Add regression test for prim status when root prim in a new linkset is ↵Justin Clark-Casey (justincc)1-1/+1
non-physical
2012-04-21Add TestSetPhysics() to SOP status testsJustin Clark-Casey (justincc)1-3/+6