aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ubitODE + physmanager: - Revised use of ODE collisions categories and ↵UbitUmarov2012-04-167-729/+983
| | | | bits(flags) for better use as filters together with top spaces (for example physical prims are on topactivespace and not physical are on topstaticspace) - Added new world raycast with filters. This blocks calling thread with a timeout of 500ms waiting for heartbeat ode thread signal job done. - Don't let ode bodies being disabled for 2 long except for vehicles. This is necessary to detect when the object is at rest at top of other and that is removed. Assume that vehicles can be enabled by used action.
* Use chode character actor.SetMomentum() to force full restore Velocity in ↵UbitUmarov2012-04-142-2/+22
| | | | scenepresence TeleportWithMomentum(), since actor.Velocity was selected by original coders as the input of a desired velocity (even 'forces') that is modified by character conditions, like not changing velocity.Z if it is in free fall.
* Use presence absolute position to request raycast to camera. Used m_pos ↵UbitUmarov2012-04-131-3/+11
| | | | maybe a sitting offset. For reasons i don't understand that also seems to crash ode more when i let this rays colide with heighmaps (ubitODE with normal ode lib).
* don't do Animator.UpdateMovementAnimations() in scenepresence ↵UbitUmarov2012-04-131-2/+3
| | | | RegionHeartbeatEnd if agent is sitting. Also restore Velocity in teleportWithMomentum()
* make llGetGeometricCenter() work as in current SL. Now this is not real geom ↵UbitUmarov2012-04-092-10/+49
| | | | center but a average of positions relative to root prim ignoring prims details, so no need to use physics engine.
* chODE and ubitODE always return prim mass (they where returning object mass ↵UbitUmarov2012-04-094-69/+315
| | | | on physical prims) so SOG can do the total add. (ubitODE as more code to use a simpler terrain geom on a modified ode lib but should do autodetect and work with normal lib).
* llGetMass and llGetObjectMass (and push estimation) always use object mass ↵UbitUmarov2012-04-093-9/+30
| | | | as in current SL ( push is what makes sense or impulse will depend on what prim it is and not object). Added llGetMassMKS() that just returns 100 x llGetMass() as it seems to be in SL.
* sop.AddToPhysics(..) fixed and in use. For now it seems it needs to set ↵UbitUmarov2012-04-091-263/+147
| | | | sop.PhysActor, so made it return void.
* Fix a LSL merge artefactMelanie2012-04-081-10/+2
|
* Merge branch 'master' into careminsterMelanie2012-04-0720-229/+617
|\ | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs OpenSim/Region/CoreModules/World/Land/LandObject.cs OpenSim/Region/Framework/Scenes/Scene.Inventory.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2012-04-0610-128/+268
| |\
| | * Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)2012-04-074-10/+19
| | | | | | | | | | | | | | | | | | ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
| | * Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)2012-04-078-34/+29
| | | | | | | | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use.
| | * refactor: Eliminate unnecessary SOP.m_physActorJustin Clark-Casey (justincc)2012-04-061-10/+1
| | |
| | * Implement PRIM_POS_LOCAL on llSetPrimitiveParams() and other prim params LSL ↵Justin Clark-Casey (justincc)2012-04-061-0/+1
| | | | | | | | | | | | | | | | | | functions. This is the same as PRIM_POSITION
| | * refactor: Use clearer part.ParentGroup.IsAttachment in LSL_Api.GetPartLocalPos()Justin Clark-Casey (justincc)2012-04-061-4/+4
| | |
| | * Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)2012-04-062-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | or attachments. Return relative position to root prim rather than 0,0,0. Should fix same issue with llGetLocalPos() http://opensimulator.org/mantis/view.php?id=5951
| | * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-04-062-0/+82
| | |\
| | | * Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2012-04-062-0/+82
| | | | | | | | | | | | | | | | Signed-off-by: nebadon <michael@osgrid.org>
| | * | For llGetMass(), return the mass of the avatar is the object is attached.Justin Clark-Casey (justincc)2012-04-062-3/+40
| | |/ | | | | | | | | | | | | As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass This is the mass as used by the physics engine (ODE or Bullet).
| | * Make llGetMass() return total mass of object when called on root prim.Justin Clark-Casey (justincc)2012-04-061-1/+4
| | | | | | | | | | | | | | | As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass Aims to resolve http://opensimulator.org/mantis/view.php?id=5954
| | * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-04-0619-61/+341
| | |\
| | * | remove possible PhysActor unexpectedly null race conditions when changing ↵Justin Clark-Casey (justincc)2012-04-032-63/+74
| | | | | | | | | | | | | | | | | | | | | | | | prim collision status factor out common SOP physics scene adding code into a common SOP.AddToPhysics() that is the counterpart to the existing RemoveFromPhysics()
| * | | Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto2012-04-064-150/+208
| | |/ | |/| | | | | | | HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
| * | Deleted the unused and commented code from 2 commits ago.Diva Canto2012-04-061-241/+1
| | |
| * | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2012-04-062-3/+49
| |\ \
| | * | Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer2012-04-051-1/+2
| | | | | | | | | | | | | | | | module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
| | * | Revert last commitSnoopy Pfeffer2012-04-051-22/+25
| | | |
| | * | Group based access restrictions to parcels require group membership, but not ↵Snoopy Pfeffer2012-04-051-25/+22
| | | | | | | | | | | | | | | | that this group is active for that user.
| | * | Little bug fix in HasGroupAccess, to properly store the case "true" in the ↵Snoopy Pfeffer2012-04-051-5/+2
| | | | | | | | | | | | | | | | cache.
| | * | Simplify group access checks and break them out into a separate method.Melanie2012-04-051-57/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use existing cache if the avatar is within the region and use an ExpiringCache to cache status if the avatar is not in the region. The 30 second delay now applies to scripted objects ony and only when the owner is not present.
| * | | If an AddItem fails, try adding it to the right folder type.Diva Canto2012-04-061-20/+63
| | | |
| * | | WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto2012-04-061-21/+295
| | | | | | | | | | | | | | | | purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
| * | | Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto2012-04-063-12/+97
| | | |
| * | | Packing of folder in SendBulkUpdateInventory always set the folder type to ↵Diva Canto2012-04-061-1/+2
| | | | | | | | | | | | | | | | -1. Not sure if there's a reason for it, but I'm changing it to the given folder type.
* | | | Merge branch 'ubitwork'Melanie2012-04-046-145/+462
|\ \ \ \
| * | | | minor changes.. a few physicsactor -> pa and a use a constant with |'ed ↵UbitUmarov2012-04-041-35/+31
| | | | | | | | | | | | | | | | | | | | bit fields in place of 6 individual checks ||'ed
| * | | | remove more merge artefactsUbitUmarov2012-04-041-10/+3
| | | | |
| * | | | reverted changes to llApplyRotationalImpulse execution in SOP/SOG. This ↵UbitUmarov2012-04-042-3/+3
| | | | | | | | | | | | | | | | | | | | functions naming is misleading, Here Apply means to apply a instante impulse that may add to previus unprocessed ones and not setting a permanente torque (that is done by llSetTorque).
| * | | | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitworkUbitUmarov2012-04-0417-123/+260
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitworkUbitUmarov2012-04-0127-270/+1008
| |\ \ \ \ \
| * | | | | | reduced instability in vertical atractor with eficiency of 1 and bankingUbitUmarov2012-03-311-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this will need a nicer solution sometime...
| * | | | | | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitworkUbitUmarov2012-03-2819-117/+641
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitworkUbitUmarov2012-03-277-14/+85
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitworkUbitUmarov2012-03-2621-273/+747
| |\ \ \ \ \ \ \ \
| * | | | | | | | | UbitOde let caller try to build meshs like done in chode. Changing this was ↵UbitUmarov2012-03-242-3885/+3959
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a bad move i made. Variable colisions softness.
| * | | | | | | | | Avatars have no bounceUbitUmarov2012-03-243-3705/+3955
| | | | | | | | | |
* | | | | | | | | | Remove some unneeded parensMelanie2012-04-041-1/+1
| | | | | | | | | |
* | | | | | | | | | Adjust Snoopy's contribution for AVNMelanie2012-04-051-56/+14
| | | | | | | | | |
* | | | | | | | | | Merge branch 'master' into careminsterMelanie2012-04-041-1/+57
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | / / | | |_|_|_|_|_|/ / | |/| | | | | | |