aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-23Add a scene maintenance thread in parallel to the heartbeat thread. The ↵Justin Clark-Casey (justincc)1-14/+77
maintenance thread will end up running regular jobs that don't need to be in the main scene loop. The idea is to make the critical main scene loop as skinny as possible - it doesn't need to run things that aren't time critical and don't depend on update ordering. This will be done gradually over time to try and uncover any issues. Many non-criticial scene loop activities are being launched on separate threadpool threads anyway. This may also allow modules to register their own maintenance jobs without having to maintain their own timers and threads. Currently the maintenance loop runs once a second, as opposed to the 89ms scene loop.
2012-03-23Make anims way more snappy. Decouple SP animation handling from physics frameMelanie1-14/+29
time.
2012-03-23Remove unnecessary shutting down check in Scene.Heartbeat(). Add some ↵Justin Clark-Casey (justincc)1-17/+20
method doc. Rename HeartbeatThread, shuttingdown to conform to code standards.
2012-03-23Rename Scene.StartTimer() to Start() - this method no longer uses a timer. ↵Justin Clark-Casey (justincc)2-25/+26
Comment out more effectively unused old heartbeat code.
2012-03-23Fix build breakJustin Clark-Casey (justincc)1-1/+1
2012-03-23Fix bug in ScenePresenceAnimator.RemoveAnimation() introduced in commit 1a8769eJustin Clark-Casey (justincc)2-3/+3
Forgot to uppercase the animation name for default animations, since for some reason we store and use them in upper rather than lowercase.
2012-03-23Comment out unused scene loop restart code.Justin Clark-Casey (justincc)1-19/+22
This has actually been unused since at least 0.7.2 due to earlier changes.
2012-03-23Use m_lastFrameTick instead of m_lastUpdate in Scene.GetHealth(). ↵Justin Clark-Casey (justincc)1-2/+2
m_lastUpdate is no longer properly updated and is redundant anyway.
2012-03-22RegionReady loggingBlueWall1-10/+5
Some maintenance to clean up logging messages
2012-03-23Add commented out section on collisions switch in Scene.SetSceneCoreDebug().Justin Clark-Casey (justincc)1-0/+6
This was not implemented before the recent changes but should be at some point.
2012-03-22Comment out a terrain save-tile debugging message that accidentally crept in ↵Justin Clark-Casey (justincc)1-6/+6
with c4b2d24
2012-03-22refactor: simplify code for checks when part.OwnerID != destPart.OwnerID in ↵Justin Clark-Casey (justincc)1-11/+8
MoveTaskInventoryItem()
2012-03-22Fix llGiveInventory() so that it checks the destination part for ↵Justin Clark-Casey (justincc)2-6/+63
AllowInventoryDrop, not the source. This allows llAllowInventoryDrop() to work. Regression test added for this case.
2012-03-22Add llGiveInventory() test from object to object where both objects are ↵Justin Clark-Casey (justincc)5-6/+134
owned by the same user.
2012-03-22HG Friends: don't notify if the server isn't there.Diva Canto1-7/+10
2012-03-22Fix merge issue from coreMelanie1-1/+1
2012-03-22Change a false false to be truly true - or is this statement false?Melanie1-1/+1
Fixes perms boo-boo
2012-03-22Rework Diva's patch to simplify itMelanie2-16/+29
2012-03-22Revert "Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY ↵Melanie3-86/+6
DEFAULT. Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch." This reverts commit 6146e7ef258b10888ad7464b72b75cca701e02c9.
2012-03-22Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. ↵Diva Canto3-6/+86
Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch.
2012-03-22refactor: Rename AvatarAnimations -> DefaultAvatarAnimations for code ↵Justin Clark-Casey (justincc)4-9/+9
clarity since non-default animations are handled completely separately from this class
2012-03-21Instead of loading default avatar animations in both SLUtil and ↵Justin Clark-Casey (justincc)7-43/+83
AvatarAnimations, load just in AvatarAnimations instead. This lets us remove the dependency of OpenSim.Framework.dll on data/avataranimations.xml, which is not necessary for ROBUST. This commit also takes care of the odd situation where animations are stored and used internally with uppercase names (e.g. "STAND") but scripts refer to them with lowercase names (e.g. "sit").
2012-03-21minor cleanUbitUmarov1-27/+24
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2-7/+26
that they can scale better. They were previously being handled by the UAS; that is still there, but it's now obsolete and will be removed in a future release.
2012-03-21HG Friends: pulled sim-bound notification code to HGStatusNotifier, so that ↵Diva Canto3-20/+58
we can better manage this traffic.
2012-03-21 fix a bad reset of shapetype on pbshape change, added missing ↵UbitUmarov1-7/+10
checksculpload ( to reload mesh on change )
2012-03-21Removed extraneous debug messageDiva Canto1-3/+0
2012-03-21 missed a creatMesh in chODE. temporary removed m_meshfailed test since it ↵UbitUmarov1-4/+9
may colide with how meshs and sculpts are loaded. This needs a good revision..
2012-03-21 shapetype support on chOde so it can also request a simple convex hull 'mesh'UbitUmarov2-34/+46
2012-03-20Removed extraneous debug messages. Added a check for UUID.Zero.Diva Canto1-16/+23
2012-03-21Changes of PrimShapeType should now work with UbitOde ( almost untested )UbitUmarov2-3727/+3750
2012-03-21If "debug scene updates true" then print out to log when a garbage ↵Justin Clark-Casey (justincc)1-0/+3
collection occurs.
2012-03-21Tell physics about physics shape when creating. Added some virtual methods ↵UbitUmarov5-5/+57
to get/set density,gravmod, frition,bounce and shape type ( not in use ). UbitOde now should do convex type on creation or everytime the mesh is changed ( as in change size, shape, etc )
2012-03-21Add Scene.DebugUpdates switch which, if turned on, will print out a warning ↵Justin Clark-Casey (justincc)1-10/+32
when a frame updates takes longer than twice the desired time This is controlled via "debug scene updates true|false" on the region console. Also fix an oversight with "debug scene teleport true|false"
2012-03-21add convex state to mesh key, so a change is detected.UbitUmarov1-1/+1
2012-03-21Incorporate scene teleporting debugging into "debug scene teleport ↵Justin Clark-Casey (justincc)3-18/+6
true|false" command
2012-03-21Replace "scene debug true false true" console command with "scene debug ↵Justin Clark-Casey (justincc)3-37/+45
scripting true" or other parameters as appropriate. This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings.
2012-03-21fix compile error from last commitJustin Clark-Casey (justincc)1-1/+1
2012-03-20Fixed borkness with map search introduce by my last changes to it.Diva Canto1-1/+1
2012-03-21refactor: simplify EstateManagementModule.handleEstateDebugRegionRequest()Justin Clark-Casey (justincc)1-18/+7
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto5-167/+276
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-21Add ability to log warn if a frame takes longer than twice the expected ↵Justin Clark-Casey (justincc)1-7/+14
time. Currently commented out.
2012-03-21Move the health monitoring stuff where it will do some goodMelanie1-3/+3
2012-03-20Add prim name to "[MESH]: No recognized physics mesh..." log messageJustin Clark-Casey (justincc)1-1/+1
2012-03-20remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-03-20remove unnecessary tmpFrameMS, use maintc instead for frame time calculationJustin Clark-Casey (justincc)1-3/+2
2012-03-20minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2012-03-20Move frame loop entirely within Scene.Update() for better future performance ↵Justin Clark-Casey (justincc)6-176/+197
analysis and stat accuracy. Update() now accepts a frames parameter which can control the number of frames updated. -1 will update until shutdown. The watchdog updating moves above the maintc recalculation for any required sleep since it should be accounted for within the frame.
2012-03-21let convex be a parameter to createMesh so it can be used. Was forced to add ↵UbitUmarov4-7/+21
it also to original mesher code and zeromesher
2012-03-20 added convex decomposition hulls support. Hardcoded to use mesh or this. ↵UbitUmarov1-18/+146
(so no simple hull of convex prims for now).