aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-23Mantis 5977 Corrections to llRegionSayToTalun2-4/+24
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-22Make TestSetPhysicsSinglePrim() actually add the object to the scene in ↵Justin Clark-Casey (justincc)1-0/+2
order to test more code paths.
2012-04-22Fix bug where setting phantom on a prim would result in a server log message ↵Justin Clark-Casey (justincc)3-12/+13
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-22fix a bug i added fixing another....UbitUmarov1-2/+5
2012-04-21Add test for setting physics in a linksetJustin Clark-Casey (justincc)1-2/+28
2012-04-21Add regression test for prim status when root prim in a new linkset is ↵Justin Clark-Casey (justincc)2-1/+20
non-physical
2012-04-21Fix a bug where linking a non-physical prim with a physical prim as root ↵Justin Clark-Casey (justincc)2-0/+22
would make the non-physical prim phantom rather than part of the physics object. On region restart, the whole object would become physical as expected. Observed behaviour from elsewhere is that all prims in a new linkset should take on the status of the root prim. Add regression test for this behaviour.
2012-04-21Add test for correct physics status on linking two physics objectsJustin Clark-Casey (justincc)1-2/+26
Also fixes last build break.
2012-04-21refactor: extract common setup code in SceneObjectStatusTestsJustin Clark-Casey (justincc)1-10/+16
2012-04-21Add TestSetPhysics() to SOP status testsJustin Clark-Casey (justincc)2-3/+26
2012-04-20changed seletion code. SOP now knows about parts selection. UI actions are ↵UbitUmarov3-24/+104
sent to SOP and this reports to SOG. Group is selected if any part is selected.sop.isSelect get() is only used in SOG. Will need to be improved for better performance on largelinksets. *UNTESTED* NEEDS CHECKING for side efects
2012-04-19 changed - VolumeDetect and phantom setting interaction. Script VD(true) ↵UbitUmarov2-13/+40
forces phantom ON. UI phantom off turns off VD. Other transitions should only change specific parameter. This is not as current SL. - Fixed volumedetect prims being wrongly removed from physics.
2012-04-18Allow setting a specific target velocity on TeleportWithMomentumMelanie1-1/+11
2012-04-17minor: Add some method doc. Add warnings since calling SOG link/delink ↵Justin Clark-Casey (justincc)2-0/+22
methods directly rather than through Scene may allow race conditions.
2012-04-17Prevent objects rezzed in sim from being seen as attachments and becoming ↵Melanie1-0/+6
uneditable or crashers. (Foxtail of death)
2012-04-17This commit adds a new optional region module, JsonStore, that provides ↵Mic Bowman1-0/+48
structured storage (dictionaries and arrays of string values) for scripts and region modules. In addition, there are operations on the storage that enable "real" distributed computation between scripts through operations similar to those of a tuple space. Scripts can share task queues, implement shared locks or semaphores, etc. The structured store is limited to the current region and is not currently persisted. However, script operations are defined to initialize a store from a notecard and to serialize the store to a notecard. Documentation will be posted to the opensim wiki soon.
2012-04-17Add TestGetChildPartPositionAfterObjectRotation()Justin Clark-Casey (justincc)1-1/+37
2012-04-17Add test TestGetChildPartPosition()Justin Clark-Casey (justincc)1-0/+28
2012-04-17refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)1-3/+3
EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
2012-04-16 added suport funtions for ubitODE raycastFilteredUbitUmarov1-0/+13
2012-04-14Use chode character actor.SetMomentum() to force full restore Velocity in ↵UbitUmarov1-1/+3
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-14Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()Justin Clark-Casey (justincc)1-1/+3
2012-04-14minor: make test names consistentJustin Clark-Casey (justincc)1-1/+1
2012-04-14refactor: move common init code into SetUp() in SceneObjectSpatialTestsJustin Clark-Casey (justincc)1-8/+13
2012-04-14refactor: put SOG position test in a separate TestSceneObjectGroupPosition()Justin Clark-Casey (justincc)1-1/+17
2012-04-14Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPositionJustin Clark-Casey (justincc)1-0/+2
2012-04-14Add very basic TestGetRootPartPosition() testJustin Clark-Casey (justincc)1-0/+65
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-12Mantis 55025 Implement script time.Talun5-8/+84
Signed-off-by: nebadon <michael@osgrid.org>
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer1-0/+3
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
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-09Mantis5502 implementation of some of the new constantsTalun5-2/+131
Signed-off-by: Melanie <melanie@t-data.com>
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-08Addresses mantis #5846Diva Canto1-1/+3
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto1-0/+49
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)2-6/+15
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)3-19/+13
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-06Fix llGetLinkPrimParams for PRIM_POS_LOCAL for child prims whether in scene ↵Justin Clark-Casey (justincc)1-3/+13
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)1-0/+16
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-06If an AddItem fails, try adding it to the right folder type.Diva Canto1-20/+63
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