aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-14Use chode character actor.SetMomentum() to force full restore Velocity in ↵UbitUmarov2-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.
2012-04-13Use presence absolute position to request raycast to camera. Used m_pos ↵UbitUmarov1-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).
2012-04-13 don't do Animator.UpdateMovementAnimations() in scenepresence ↵UbitUmarov1-2/+3
RegionHeartbeatEnd if agent is sitting. Also restore Velocity in teleportWithMomentum()
2012-04-09make llGetGeometricCenter() work as in current SL. Now this is not real geom ↵UbitUmarov2-10/+49
center but a average of positions relative to root prim ignoring prims details, so no need to use physics engine.
2012-04-09chODE and ubitODE always return prim mass (they where returning object mass ↵UbitUmarov4-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).
2012-04-09 llGetMass and llGetObjectMass (and push estimation) always use object mass ↵UbitUmarov3-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.
2012-04-09sop.AddToPhysics(..) fixed and in use. For now it seems it needs to set ↵UbitUmarov1-263/+147
sop.PhysActor, so made it return void.
2012-04-08Fix a LSL merge artefactMelanie1-10/+2
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto4-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.
2012-04-07Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)4-10/+19
ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)8-34/+29
only ever using the root part entry. This eliminates some pointless memory use.
2012-04-06refactor: Eliminate unnecessary SOP.m_physActorJustin Clark-Casey (justincc)1-10/+1
2012-04-06Implement PRIM_POS_LOCAL on llSetPrimitiveParams() and other prim params LSL ↵Justin Clark-Casey (justincc)1-0/+1
functions. This is the same as PRIM_POSITION
2012-04-06refactor: Use clearer part.ParentGroup.IsAttachment in LSL_Api.GetPartLocalPos()Justin Clark-Casey (justincc)1-4/+4
2012-04-06Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)2-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
2012-04-06For llGetMass(), return the mass of the avatar is the object is attached.Justin Clark-Casey (justincc)2-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).
2012-04-06Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2-0/+82
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-06Make llGetMass() return total mass of object when called on root prim.Justin Clark-Casey (justincc)1-1/+4
As per http://lslwiki.net/lslwiki/wakka.php?wakka=llGetMass Aims to resolve http://opensimulator.org/mantis/view.php?id=5954
2012-04-06Deleted the unused and commented code from 2 commits ago.Diva Canto1-241/+1
2012-04-06If an AddItem fails, try adding it to the right folder type.Diva Canto1-20/+63
2012-04-06WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto1-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.
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto3-12/+97
2012-04-06Packing of folder in SendBulkUpdateInventory always set the folder type to ↵Diva Canto1-1/+2
-1. Not sure if there's a reason for it, but I'm changing it to the given folder type.
2012-04-05Added missing refresh of group membership client side cache to the groups ↵Snoopy Pfeffer1-1/+2
module. Before memberships of non active groups often were not stored in the cache (n_groupPowers).
2012-04-05Revert last commitSnoopy Pfeffer1-22/+25
2012-04-05Group based access restrictions to parcels require group membership, but not ↵Snoopy Pfeffer1-25/+22
that this group is active for that user.
2012-04-05Little bug fix in HasGroupAccess, to properly store the case "true" in the ↵Snoopy Pfeffer1-5/+2
cache.
2012-04-05Simplify group access checks and break them out into a separate method.Melanie1-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.
2012-04-05Implements group based access restrictions for parcels of land. Because of ↵Snoopy Pfeffer1-1/+57
caching there can be a delay of up to 30 seconds until the access rights are effectively changed for a user.
2012-04-04Remove some unneeded parensMelanie1-1/+1
2012-04-05Adjust Snoopy's contribution for AVNMelanie1-56/+14
2012-04-04 minor changes.. a few physicsactor -> pa and a use a constant with |'ed ↵UbitUmarov1-35/+31
bit fields in place of 6 individual checks ||'ed
2012-04-04remove more merge artefactsUbitUmarov1-10/+3
2012-04-04reverted changes to llApplyRotationalImpulse execution in SOP/SOG. This ↵UbitUmarov2-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).
2012-04-03Fix the last merge artefactsMelanie2-5/+5
2012-04-03More artefactMelanie1-1/+1
2012-04-03Fix more merge artefactsMelanie1-3/+3
2012-04-03Remove duplicate implementation of Material { get; set; }Melanie1-14/+0
2012-04-03Fix merge artefactsMelanie2-27/+2
2012-04-03terrain save-tile extensions Signed-off-by: Garmin Kawaguichi ↵Garmin Kawaguichi11-3/+74
<garmin.kawaguichi@magalaxie.com> Signed-off-by: Melanie <melanie@t-data.com>
2012-04-03remove possible PhysActor unexpectedly null race conditions when changing ↵Justin Clark-Casey (justincc)2-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()
2012-04-03Fix more SOP.PhysActor race conditions in LSL_ApiJustin Clark-Casey (justincc)1-7/+19
2012-04-03Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)5-154/+208
null then assume it was still not null in later code. Another thread could come and turn off physics for a part (null PhysicsActor) at any point. Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs No obvious reason for doing that copy - nothing else does it.
2012-03-31Implement bulk inventory update over CAPS (not recursive by design,Melanie1-1/+47
do NOT CHANGE THIS, needed for HG 2.0)
2012-03-31refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)7-31/+31
the 'root' part.
2012-03-31Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)3-35/+24
ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
2012-03-31Allow llRegionSayTo() to work on the PUBLIC_CHANNEL, as per ↵Justin Clark-Casey (justincc)1-1/+1
http://wiki.secondlife.com/wiki/LlRegionSayTo Addresses http://opensimulator.org/mantis/view.php?id=5950
2012-03-31minor: small message adjustment and unnecessary code elimination when ↵Justin Clark-Casey (justincc)2-2/+2
notifying client of no build permission
2012-03-31fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932PixelTomsen2-1/+12
2012-03-31Implement bulk inventory update over CAPS (not recursive by design,Melanie1-1/+47
do NOT CHANGE THIS, needed for HG 2.0)