aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix packetpool for ImprovedTerseObjectUpdate packets.Justin Clark-Casey (justincc)2012-10-113-5/+15
| | | | | These were neither being returned or in many places reused. Getting packets from a pool rather than deallocating and reallocating reduces memory churn which in turn reduces garbage collection time and frequency.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-10-1110-202/+316
|\
| * BulletSim: remove some unused API2 calls because they were removed from ↵Robert Adams2012-10-112-14/+2
| | | | | | | | Bullet 2.81
| * BulletSim: normalize physics FPS to 45 (for real this time).Robert Adams2012-10-111-2/+2
| |
| * BulletSim: normalize physics FPS to 45.Robert Adams2012-10-111-3/+4
| |
| * BulletSim: Use full linkset mass when computing vehicle gravity force. Add ↵Robert Adams2012-10-113-11/+16
| | | | | | | | taint-time specification to new AddForce().
| * BulletSim: Change defaults for constraint CFM and ERP to make large linksets ↵Robert Adams2012-10-112-11/+8
| | | | | | | | more rigid. Remove mass calculation for terrain (it should stay a static object).
| * BulletSim: cosmetic changes (comments and renaming). Give mass to terrain to ↵Robert Adams2012-10-117-52/+74
| | | | | | | | improve interactions.
| * BulletSim: Add Force* operations to objects to allow direct push to engine.Robert Adams2012-10-117-29/+100
| | | | | | | | | | | | | | | | | | | | Update BSDynamics to use same (don't want to delay updates til next taint-time. Suppress queuing a taint update for position and orientation calls if value does not change. Move Bullet timing statistics call from C# back to C++ code. Throttle taints per simulation step and add parameter to set. By default, don't create hulls for physical objects. Add a parameter to turn on and off.
| * BulletSim: Fix crash when linking large physical linksets.Robert Adams2012-10-118-102/+132
| | | | | | | | | | | | | | | | Properly remove and restore linkage constraints when upgrading a prim's mesh to a hull. Lots more debug logging. Definitions and use of Bullet structure dumping. Centralize detail logging so a Flush() can be added for debugging.
* | Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)2012-10-112-45/+70
|/ | | | | | This allows different categories of stats to be shown, with options to list categories or show all stats. Currently categories are scene and simulator and only a very few stats are currently registered via this mechanism. This commit also adds percentage stats for packets and blocks reused from the packet pool.
* Assign endVector before control leaves ↵Justin Clark-Casey (justincc)2012-10-111-0/+2
| | | | | | ObjectCommandsModule.TryParseVectorRange() in order to fix mono 2.4.3 compile failure. This doesn't fail the compile on mono 2.10.8.
* Add "delete object pos <start-coord> to <end-coord>" console command.Justin Clark-Casey (justincc)2012-10-101-24/+85
| | | | | This allows one to delete objects within a certain volume. See help on console for more details.
* Correct osSetContentType() threat check to query osSetContentType rather ↵Justin Clark-Casey (justincc)2012-10-101-1/+3
| | | | than osSetResponseType
* Remove osDropAttachment threat level check wrongly placed in ↵Justin Clark-Casey (justincc)2012-10-101-1/+0
| | | | OSSL_Api.ShoutErrorOnLackingOwnerPerms.
* minor: Add method doc to EventManager.OnNewClient, OnClientLogin, ↵Justin Clark-Casey (justincc)2012-10-101-0/+14
| | | | ClientClosed, OnRemovePresence that any long-running operations should be launched on a thread separate to the event thread.
* Lock on AgentCircuitData during Scene.AddClient() and RemoveClient() to ↵Justin Clark-Casey (justincc)2012-10-103-219/+265
| | | | | | prevent an inactive connection being left behind if the user closes the viewer whilst the connection is being established. This should remove the need to run the console command "kick user --force" when these connections are left around.
* minor: elaborate method doc on Scene.NewUserConnection()Justin Clark-Casey (justincc)2012-10-091-6/+13
|
* av_av_collisions_off = false OdePhysics Settings in OpenSimDefaults.ini - ↵teravus2012-10-091-2/+9
| | | | No Avatar Avatar Collisions. This causes avatar to be able to walk through each other as if they're ghosts but still interact with the environment.
* Add config option to plant avatar where they are reducing avatar avatar ↵teravus2012-10-092-3/+9
| | | | 'pushability' av_planted see OpenSimDefaults.ini. Use when you have unruly visitors that rudely push each other around. Still allows a small amount of movement based on the avatar movement PID controller settings. You can increase the spring tension in the PID controller and really prevent any movement if you would like.
* Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)2012-10-094-4/+7
| | | | easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
* Merge branch 'master' of git://opensimulator.org/git/opensimDan Lake2012-10-0810-41/+111
|\
| * refactor: Rename UserSessioNID -> UserSession in WebStatsModule since this ↵Justin Clark-Casey (justincc)2012-10-061-20/+20
| | | | | | | | is what it actually represents
| * Make UserSessionID a class rather than a struct, so that later updates to ↵Justin Clark-Casey (justincc)2012-10-061-2/+16
| | | | | | | | | | | | value suceed (rather than having to pull the data out and reinsert back into the Dictionary). Fixes http://opensimulator.org/mantis/view.php?id=6338
| * On receiving TaskInventoryAccepted with a destination folder in the binary ↵Justin Clark-Casey (justincc)2012-10-069-20/+76
| | | | | | | | | | | | | | | | | | | | | | bucket slot for RLV, notify the viewer about inventory folder updates. The viewer would not see the folder move without this, either on accept or decline. This commit also updates the TaskInventoryOffered message to better conform with the data LL uses Changes are, agentID is prim owner rather than prim id, agent name is now simply object name rather than name with owner detail, message is just folder name in single quotes, message is not timestamped. However, folder is not renamed "still #RLV/~<name>". Long term solution is probably not to do these operations server-side. Notes will be added to http://opensimulator.org/mantis/view.php?id=6311
* | Add bool to TriggerSceneObjectPartUpdated where full = true indicates a full ↵Dan Lake2012-10-052-5/+5
| | | | | | | | update. There should be a better way to indicate which properties have changed that is non LLUDP-centric
* | Trigger ObjectAddedToScene when loading objects from oarfile. Already ↵Dan Lake2012-10-051-1/+8
|/ | | | triggers when creating, duplicating or loading from database, incoming attachments, etc
* Fix bug in implementation of "show part pos" that would not filter probably.Justin Clark-Casey (justincc)2012-10-051-40/+25
| | | | Also refactors more of ObjectCommandsModule to remove duplicate code
* Add "show part pos" console command to match "show object pos"Justin Clark-Casey (justincc)2012-10-051-0/+72
|
* refactor: eliminate some now duplicate code in ObjectCommandsModuleJustin Clark-Casey (justincc)2012-10-051-34/+25
|
* Add "show object pos <start-coord> to <end-coord>" command to simulator console.Justin Clark-Casey (justincc)2012-10-051-0/+67
| | | | | | This allows you to display details of all objects in a given bounding box. Values parts of the co-ord can be left out as appropriate (e.g. to get all objects between the ground and z=30. See "help show object pos" for more details.
* minor: Add missing license information from the top of IUserManagementJustin Clark-Casey (justincc)2012-10-051-1/+28
|
* Finally fix build break by allowing UserManagementModule (which constructs a ↵Justin Clark-Casey (justincc)2012-10-051-0/+1
| | | | | | packet directly) to reference OpenSim.Region.ClientStack.LindenUDP. This time I actually properly did a clean build
* Print number of objects found with "show object name" and "show part name" ↵Justin Clark-Casey (justincc)2012-10-051-12/+4
| | | | simulator console commands
* Forgot to actually remove the packetpool set code from scene.Justin Clark-Casey (justincc)2012-10-051-7/+0
|
* Read PacketPool config in LLUDPServer with other config params rather than ↵Justin Clark-Casey (justincc)2012-10-051-0/+9
| | | | | | | in Scene. This is to resolve previous build break. This unnecessarily but harmlessly reads and sets the parameter multiple times - scene was doing the same thing.
* refactor: Move OpenSim.Framework.PacketPool to ↵Justin Clark-Casey (justincc)2012-10-051-0/+249
| | | | | | | OpenSim.Region.Clientstack.Linden.UDP This is to allow it to use OpenSim.Framework.Monitoring in the future. This is also a better location since the packet pool is linden udp specific
* Allow default animation to be stopped to be replaced with another one.Melanie2012-10-042-16/+29
| | | | Fixes Mantis #6327
* Output monitor data in response to console command on MainConsole.Instance ↵Justin Clark-Casey (justincc)2012-10-041-2/+2
| | | | | | | rather than m_log This should really be happening for all console commands (though many don't). However, things might get difficult if both a console command and other code invoke the same paths.
* Add generic PercentageStat.Justin Clark-Casey (justincc)2012-10-041-1/+1
| | | | Not yet used.
* Add experimental "slow frames" stat, available in "show stats" and via the ↵Justin Clark-Casey (justincc)2012-10-041-0/+33
| | | | | | | | | monitoring module. This increments a SlowFrames counter if a frame takes over 120% of maximum time. This commit also introduces a generic OpenSim.Framework.Monitoring.Stat which is available to any code that wants to register a statistic. This is more granualar than asking objects to create their own reports. At some point this will supersede earlier IMonitor and IAlert facilities in MonitoringModule which are only available to scene code.
* Soliciting for comments on smoothness of physics objects for this build.teravus2012-10-032-8/+46
| | | | | This introduces expected contact point hints to the ODE Collider to better determine when to throttle updates as excessive. This /should/ smooth physics objects out again, however, I cannot know every configuration of OpenSimulator, so I'm requesting that testers please examine this change on their build. Thanks!
* Fix the use of the wrong index when locating the assets associatedMic Bowman2012-10-031-1/+2
| | | | | | | with wearables. The fact that this hasn't caused problems earlier suggests either that no one is using multiple layers of wearables or that this code is useless because the assets are coming in with the wearables request.
* Fix a viewer crash issueMelanie2012-10-031-1/+12
| | | | | | Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
* I propose that 0.5m/step change for linear velocity is too big of a change ↵teravus2012-10-031-1/+15
| | | | to control the reporting of a new angular velocity. I think that this could be here for one of two reasons, 1. vehicles and llMoveToTarget with axis lock, or 2. To attempt to make things look more stable in the physics scene then they really are, however, this also really affects the angular velocity reporting negatively causing things to spin wildly and jump back into place repeatedly. To compromise, if the prim is a vehicle or is being used as a motor target, the original functionality is still applied. If that's not the case, angular velocity is reported with a linear velocity of 0.02m/step. To be clear on the effect of the physical world... When you push things, there's still a lag time where you walk into the object but once the object is in motion, it begins to move as you would expect so results in slightly more realistic motion.
* Minor Modification, switch /2 to 0.5f in ODEPrim.Velocityteravus2012-10-021-4/+4
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2012-10-0214-308/+597
|\
| * correcting typoSignpostMarv2012-10-021-3/+3
| |
| * taking into account the recent introduction of implicit operatorsSignpostMarv2012-10-021-3/+1
| |
| * added perms checking, duplicated functionality to methods that do not ↵SignpostMarv2012-10-023-6/+86
| | | | | | | | require perms and have higher threat level