aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-20BulletSim: remove chatty debug message from previous commit.Robert Adams1-3/+3
2013-09-20BulletSim: add position and rotation update for child prim physics update ↵Robert Adams1-0/+20
events. Normally, physics engines do not return updates for child prims so, under normal operation, this code should never execute. Will only be used when using flexible linkset linkages.
2013-09-20Change collision logic in SceneObjectPart so land_collision will happen.Robert Adams1-6/+3
The previous logic would generate land_collision_start and land_collision_end but would not generate the land_collision itself.
2013-08-20* Fix some threading issues in BulletXNA (the managed bullet library), this ↵teravus1-2/+3
should better allow you to run it in multiple region scenarios (but why would you really want to do that?) Source in OpenSimLibs. * Fixed a null ref during shutdown.
2013-07-13Reinsert PhysicsActor variable back into SOP.SubscribeForCollisionEvents() ↵Justin Clark-Casey (justincc)1-8/+12
in order to avoid a race condition. A separate PhysicsActor variable is used in case some other thread removes the PhysicsActor whilst this code is executing. If this is now impossible please revert - just adding this now whilst I remember. Also makes method comment into proper method doc.
2013-07-11Centralize duplicated code in SceneObjectPart for subscribing toRobert Adams1-54/+43
collision events. Improve logic for knowing when to add processing routine to physics actor.
2013-07-08minor: remove mono compiler warnings related to keyframe codeJustin Clark-Casey (justincc)1-2/+0
2013-07-06Try to normalize the creatorData of scene object parts with the trailing ↵Diva Canto1-0/+4
'/'. What a nightmare this '/' is!
2013-06-11* Adds KeyFrameMotion storage support to SQLite, just a note, seems that ↵teravus1-2/+3
there's still something wrong with keyframed motion starting when the sim starts up, you have to 'select' and 'deselect' the prim again to get it to appear to move. Not sure what this is but maybe melanie_t can comment on this. * Has a prim table migration.. that might take a while, hold on to your hats. * Fixes a null-ref when shutting down while keyframed motion is active.
2013-06-06Hook up Keyframe motion to almost everything. Failing to cross a sim borderMelanie1-0/+15
may yield unexpected results in some cases. No database persistence yet,
2013-05-24Fix issue where llSetPayPrice on either one of a clone prim in the same ↵Justin Clark-Casey (justincc)1-0/+2
OpenSimulator session would change the prices on both prims. This is because the PayPrice array refernence was being memberwise cloned and not the array itself. Addresses http://opensimulator.org/mantis/view.php?id=6639
2013-05-22Implement llSetSoundQueueing().Justin Clark-Casey (justincc)1-1/+9
This is controlled by the viewer, not the server. So as per http://wiki.secondlife.com/wiki/LlSetSoundQueueing, only two sounds can be queued per prim. You probably need to use llPreloadSound() for best results
2013-04-19Materials-capable viewers send ImageUpdate packets when updating materials ↵dahlia1-11/+35
that are normally sent via RenderMaterials CAP. This can cause a race condition for updating TextureEntry fields. Therefore filter any TextureEntry updates so they only update if something actually changed.
2013-04-17Allow changes to TextureEntry to propagate to viewers when MaterialID changesdahlia1-0/+2
2013-04-03Fix minor race condition in SOP.SitTargetOrientationLL where inconsistent ↵Justin Clark-Casey (justincc)1-11/+2
values could be returned if the sit orientation was changed whilst the property was being fetched.
2013-04-03Use consistent GroupPosition value Make SOP.UpdateGroupPosition() rather ↵Justin Clark-Casey (justincc)1-5/+6
than one that could change whilst the method is being executed.
2013-04-03fix minor race condition in SOP.SitTargetPositionLL where inconsistency ↵Justin Clark-Casey (justincc)1-1/+1
could occur if the sit target position changed whilst the property was fetched
2013-04-03minor: Make SOP.UpdateOffset() more consistent by checking against the same ↵Justin Clark-Casey (justincc)1-7/+7
old OffsetPosition rather than one which may vary if it simultaneously changes.
2013-04-02Fix minor race condition where SOP.GetGeometricCenter() and ↵Justin Clark-Casey (justincc)1-4/+4
GetCenterOfMass() could return results which were never the case if these values were changed whilst the method was running No need to create new Vector3s since these are structs.
2013-03-31Export permission, part two. Setting export perms for textures and clothing ↵Melanie1-7/+22
works. Setting perms for prims also works but they don't propagate correctly yet. NOT FOR PRODUCTIN USE. Your database will need to be updated before you can use this!
2013-03-29Fix bug where CHANGED_REGION and/or CHANGED_TELEPORT weren't firing for ↵Justin Clark-Casey (justincc)1-0/+4
scripts in attachments. This was because the script resumption in AttachmentsModule was firing the attach event instead. Had to reinstate the code in 285bd3a do we can resume the scripts there instead, though the bug existed before its removal. This is to resolve http://opensimulator.org/mantis/view.php?id=6578
2013-03-26Phase 1 of implementing a transfer permission. Overwrite libOMV's PermissionMaskMelanie1-0/+1
with our own and add export permissions as well as a new definition for "All" as meaning "all conventional permissions" rather than "all possible permissions"
2013-03-13Remove unnecessary instation of DOMap() in SOP from commit 5c53660 since ↵Justin Clark-Casey (justincc)1-1/+0
this is being done lazily
2013-03-13Add prototype dynamic objects map for scene object partsJustin Clark-Casey (justincc)1-0/+22
This allows region modules to add dynamic objects to SOPs rather than having to continually push and pull OSD dynamic attributes. This is to explore the original MOAP use case for dynamic attributes where it could be very awkward and possibly time-consuming to keep reconstructing MediaEntrys from stored DynamicAttributes. This commit adds a DOExampleModule to demonstrate/evolve this code. Dynamic objects involve no storage or persistence changes - the 'backing store' for any data that does need to be saved will remain the DAMap. DOExampleModule in this commit only attaches a fresh dynamic object. Actually constructing this from stored dynamic attributes and handling persistence is left for later. These changes should affect no existing functionality, though it may or may not reveal necessary changes in DAMap down the road.
2013-03-08* Apparently, sometimes texture entries come in from the wire with no ↵teravus1-0/+17
default texture defined.. so apply better fallback protection against that. The net result is clients will have their selected textures set when they would have previously had an ignored exception.
2013-02-14Add EventManager events triggered when a SOP is added or removedRobert Adams1-0/+2
from the physical scene. Invocations added in SceneObjectPart.
2013-02-07Actually plumb the new values to physics.Melanie1-0/+20
2013-02-07Add some more code from Avination. This changes physics actor stuff aroundMelanie1-37/+152
to work with the new params. Not actually plumbed just yet.
2013-02-07Plumb the path from the client to the extra physics params and backMelanie1-0/+1
2013-02-07Revert "Add plumbing for physics properties to get to the physics engine."Melanie1-50/+6
This reverts commit c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a.
2013-02-07Add plumbing for physics properties to get to the physics engine.Robert Adams1-6/+50
Addition of entries to PhysicsActor and setting code in SceneObjectPart.
2013-02-07Rename "Bounciness" to "Restitution"Melanie1-3/+3
2013-02-06Partial port of Avination's support for the new physics parameters.Melanie1-3/+93
Implements the parameters as properties, the serialization and database storage (MySQL only). Implements llSetPrimitiveParams for prim physics shape and the other 4 extra params. Only the prim shape type "None" is currently functional. No support for the Viewer UI (yet), that will be ported in due course. Lots more to port, this is a large-ish changeset.
2013-02-06Remove very long unused IScriptHost and NullScriptHostJustin Clark-Casey (justincc)1-1/+1
2013-01-25Added DynAttrs to the serialized XML format of prims. When copying prims, ↵Oren Hurvitz1-0/+2
use deep copy for DynAttrs.
2013-01-25Encapsulate an OSDMap in DAMap (was DynAttrsOSDMap) rather than inheriting ↵Justin Clark-Casey (justincc)1-2/+2
from it This is the easier way to give us control over locking, rather than asking that OSDMap IDictionary methods be virtual
2013-01-25Implement Dynamic Attributes for SOP and PBS. Implement storage in SQLiteJustin Clark-Casey (justincc)1-1/+8
2013-01-23* This makes the non-physics llCastRay 'better'. It's not 'correctly ↵teravus1-0/+1
working', and if you look deep enough, you see that the results are not really stable depending on the direction of the ray.
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-11Fix 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