aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-04Set default particle burst count to 1 instead of 0 in any set particle ↵Justin Clark-Casey (justincc)1-3/+3
system script call that does not have an empty list. As per http://opensimulator.org/mantis/view.php?id=6353
2013-01-04Fix build break caused by missing ) from dce2809.Justin Clark-Casey (justincc)1-1/+1
Was hand-typing in a line of code I had tested before but not retested this time
2013-01-04Automatically grant sit-related llRequestPermissions() for subsequent ↵Justin Clark-Casey (justincc)1-15/+1
avatars sitting on the same scene obejct, instead of wrongly popping up request permissions dialog. Resolves http://opensimulator.org/mantis/view.php?id=6478
2013-01-04refactor: simplify llGetNumberOfPrims() to return prim count + sitting ↵Justin Clark-Casey (justincc)1-7/+1
avatar count rather than independently inspecting every scene presence
2013-01-04Fix llGetLinkName() to return the name of the last avatar sat as the last ↵Justin Clark-Casey (justincc)1-41/+35
link number. As per http://wiki.secondlife.com/wiki/LlGetLinkName
2013-01-04Fix llGetLinkKey() to return the last sat avatar as the last link number.Justin Clark-Casey (justincc)3-63/+99
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
2013-01-03minor: Add some doc to the extremely unhelpful 'fudge....' comment as to why ↵Justin Clark-Casey (justincc)1-1/+4
we're deselecting the prim in code before scheduling an update on attachment
2013-01-03Fix problem where object attached from ground often does not get attached ↵Justin Clark-Casey (justincc)1-9/+1
properly. It seems this is happening because we send a kill for objects that are selected when attached. A code comment says that this is to get the client to deselect it, but v3 and v1 clients do this just fine without the kill. Aims to address http://opensimulator.org/mantis/view.php?id=6456
2013-01-03Scipt modules get the OpenMetaverse types, so lists passed as arguments to ↵SignpostMarv1-2/+27
script module functions which then later call LSL_Types.list.GetVector3Item() or LSL_Types.list.GetQuaternionItem() methods would then trigger an InvalidCastException, which is now avoided.
2013-01-03Improving documentation of AttachToAvatar and GetLine methods in LSL_Api.cs ↵SignpostMarv1-8/+15
based on doxygen error output
2013-01-03updating documentation in SampleMoneyModule based on doxygen error log ↵SignpostMarv1-6/+8
output; changing an xml-style hint to a uri-style hint in the class summary, improving documentation of Initialise method and removing a superfluous parameter, improving documentating of ClientClosed method and documenting an omitted parameter
2013-01-03minor: Change channel digger replacement message in TerrainModule to Info ↵Justin Clark-Casey (justincc)1-1/+1
from Warn. This is to stop this unnecessarily triggering log analysis code which reports warn and error level statements.
2013-01-02Fixed several problems with the Sun: some settings didn't work, or were ↵Oren Hurvitz5-61/+37
inconsistently used. - The sun position is always calculated by combining the sun settings in the Region and Estate. This fixes the problem that 'UseEstateSun' didn't work. - To remove ambiguity, the EstateToolsSunUpdate event no longer accepts the sun's position as parameters. That's because the position is always calculated from the Region and Estate settings. - Use only the 'FixedSun' flag to determine whether the sun is fixed; not the 'UseGlobalTime' flag. - Don't change the region's 'SunPosition' field according to the sun's position: this field is used only to set the position when using a FixedSun. (The 'SunVector' field does get updated according to the sun's position in the sky)
2013-01-02Fixed: the AvatarEnteringNewParcel event wasn't triggered in some casesOren Hurvitz1-0/+6
If an avatar moved between regions: A -> B -> A, then when returning to region A the AvatarEnteringNewParcel wasn't triggered. This happened because the ScenePresence in region A still remembered its previous 'currentParcelUUID', so it appeared as if the avatar didn't change parcels. Now, however, when a ScenePresence becomes a child presence we clear its 'currentParcelUUID'.
2013-01-02Fix indenting on ConsoleDisplayTable, align indenting on "show animations" ↵Justin Clark-Casey (justincc)1-1/+1
console command
2013-01-02minor: minor code and log formatting fixes to recent changes in ↵Justin Clark-Casey (justincc)1-5/+6
LandManagementModule
2013-01-02Changed locks to prevent deadlocks (especially during multi-region Load OAR)Oren Hurvitz3-39/+61
2013-01-02If Save OAR/IAR times-out while waiting for assets then notify the caller ↵Oren Hurvitz4-26/+37
that the operation failed
2013-01-02minor: Allow objects to be added directly to a row on a ConsoleDisplayTable ↵Justin Clark-Casey (justincc)1-1/+1
rather than having to ToString() them first
2013-01-02Implemented Return Objects when it's invoked from the Top Colliders or Top ↵Oren Hurvitz1-5/+55
Scripts dialogs
2013-01-02Add "show animations" console command for debug purposes.Justin Clark-Casey (justincc)2-0/+216
This shows the current animation sequence and default anims for avatars.
2013-01-02If an NPC is unowned, then always auto-grant permissions requested via ↵Justin Clark-Casey (justincc)1-1/+1
llRequestPermissions() This is consistent with all other OSSL NPC functions that allow unowned avatars to be manipulated. Aims to address http://opensimulator.org/mantis/view.php?id=6483
2013-01-01BulletSim: add parameter to have Bullet output performance statisticsRobert Adams4-7/+11
every so many frames. Default to off.
2013-01-01BulletSim: move selection of the unmanaged Bullet DLL from BSPluginRobert Adams2-6/+8
into the unmanaged Bullet interface class.
2013-01-01BulletSim: move over and port the interface for BulletXNA.Robert Adams7-315/+623
Copied BulletSNPlugin.BulletSimAPI to a new BulletSPlugin.BSAPIXNA.cs and then modifyed the latter to comply with the BSAPITemplate definition. Not totally debugged but the code is all there for an INI variable to select either unmanaged C++ Bullet or the C# version of Bullet.
2013-01-01BulletSim: fix line endings.Robert Adams2-52/+52
2013-01-01BulletSim: subclass Bullet[World|Body|Shape|Constraint] for unmanagedRobert Adams6-278/+1806
to have pointers and managed to have objects. Initial paste of XNA code. Commented out.
2013-01-01minor: Assign names to the different SmartThreadPools for debugging purposes.Justin Clark-Casey (justincc)1-0/+1
A different approach to the patch in http://opensimulator.org/mantis/view.php?id=6462 that doesn't involve further forking of SmartThreadPool
2012-12-31BulletSim: remove unused unmanaged memory reference functions from ↵Robert Adams2-2/+4
BSAPITemplate.
2012-12-31BulletSim: remove rigid body contruction functions from BSAPITemplate that ↵Robert Adams2-61/+0
relied on prebuilt construction info structures.
2012-12-31BulletSim: eliminate the use of the unmanaged HeightMapInfo structure.Robert Adams4-42/+20
Remove all related calls from the unmanaged and BSAPITemplate interfaces. Update DLLs and SOs to include the version without HeightMapInfo structures.
2012-12-31BulletSim: complete movement of BulletSimAPI functions to BSAPITemplate.Robert Adams10-194/+311
Update BulletSim DLLs and SOs with simplier step function interface.
2012-12-31BulletSim: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams15-201/+372
Only initialization and debug fuctions left.
2012-12-31BulletSim: remove all the debug printing of pointer formatting ↵Robert Adams7-25/+58
(.ToString(X)) and replace it with a method on BulletBody, BulletShape, ...
2012-12-31BulletSim: another round of conversion: dynamics world and collision object ↵Robert Adams15-1248/+1454
functions.
2012-12-31BulletSim: add the implementation files for the two versions of Bullet:Robert Adams2-0/+1146
unmanaged (C++) and managed (C#).
2012-12-31BulletSim: first round of conversion from direct BulletSimAPI interfacing by ↵Robert Adams11-839/+234
BulletSim core to using the BulletSimAPITemplate. Physical object creation and destruction first.
2012-12-31BulletSim: change physical data structures to classes. Add defaultRobert Adams5-15/+29
instantiations for PhysBody and PhysShape when BSPhysObject is created to account for them being classes and not structures. Update TODO list.
2012-12-31Resolve Mantis 6480 (http://opensimulator.org/mantis/view.php?id=6480)Robert Adams1-2/+11
by reversing the sign on the recoil computation and adding a [XEngine]RecoilScaleFactor parameter which defaults to zero. Testing in SL seems to show that there is not a recoil action there. Or, at least, it is very small. If someone knows how small, the default for the scale factor should be changed.
2012-12-31Comment out test messages that go directly to the console.Robert Adams1-2/+2
2012-12-29BulletSim: remove check for small motor movement because, while itRobert Adams2-3/+6
did the right thing for stopping (speed reducing to zero), it prevented movement from starting (speed increasing from zero). Will revisit when the generalize PID motor is debugged.
2012-12-29BulletSim: an 'if' to suppress multiple setting of avatar orientation.Robert Adams1-5/+9
Looks like the viewer bombards the server with avatar orientation information (we're talking several hundred a second) when the avatar is being turned or when walking. This change just reduces the number of 'set' calls into unmanaged code.
2012-12-29BulletSim: tweeking avatar capsule code in an attempt to haveRobert Adams4-46/+81
asymmetrical avatar capsule work now that rotation is being passed from the simulator. Turns out the Bullet capsule is just not very functional: it doesn't scale properly, the implementation only half does asymmetry and, in general, is hard to work with. Avatar shape is about what it was before these changes. Added initial data structures for avatar shape mesh.
2012-12-28ScenePresence passes the avatar rotation down to the physics engine. This ↵Robert Adams1-0/+4
will be a no-op for ODE but enables asymmetrical avatars for BulletSim.
2012-12-28BulletSim: add 'AvatarAlwaysRunFactor' parameter and use in setTargetVelocityRobert Adams2-3/+9
to implement the 'always run' feature.
2012-12-28BulletSim: fix problem of avatars appearing to walk through wallsRobert Adams1-51/+55
by moving the movement motor to a pre-step action and out of its questionable previous home in UpdateProperties.
2012-12-27BulletSim: correct collision mask definition for linkset children.Robert Adams4-35/+18
Remove unused code. Add comments and TODOs.
2012-12-27BulletSim: fix physical object not interacting with static objects.Robert Adams1-9/+24
Another instance of the underlying Bullet doing, ah, helpful things when items are added to the world.
2012-12-27BulletSim: Parameterize nominal frame rate (55) and add parameters to ↵Robert Adams4-5/+21
dynamially turn on/off detailed, unmanaged data dumping of prims and vehicles.
2012-12-27BulletSim: move logic for IsColliding, CollidingGround and CollidingObj from ↵Robert Adams4-39/+55
individual sub-classes and up to parent BSPhysObject class.