aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-08Hold a ref to the prim we're sat on rather than querying scene each timeMelanie1-27/+30
the check for significant is carried out. Prevents a deadlock condition.
2012-03-08Display help commander topics in capitalized form - the commands themselves ↵Justin Clark-Casey (justincc)1-1/+1
are still lowercase. Also convert the estate commands to simply AddCommand() calls so that commands from two different modules can be placed in the same category
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2-8/+65
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-07 changes on undo/redo (untested/incomplete). Think we may consider moving ↵UbitUmarov3-153/+66
this mfrom SOP to client side. At least does seem to work a bit better ( again there wwas a issue on sop.copy )
2012-03-07Always zero the PhysActor on dupes to prevent side effects on the orignal primMelanie1-4/+1
2012-03-07Fix merge issueMelanie1-76/+79
2012-03-07Stop individually deleting objects at the end of each ObjectTortureTest.Justin Clark-Casey (justincc)1-28/+21
We can now do this since the entire scene and all objects within it are now successfully gc'd at the end of these tests. This greatly improves the time taken to run each test (by reducing teardown time, not the time to actually do the test work that we're interested in). Slightly simplifies config read in Scene constructor to help facilitate this.
2012-03-07Add documentation to make more explicit the difference between OnRezScript ↵Justin Clark-Casey (justincc)1-5/+20
and OnNewScript in the event manager OnNewScript fires when a script is added to a scene OnRezScript fires when the script actually runs (i.e. after permission checks, state retrieval, etc.)
2012-03-06Add sensor, dataserver requests, timer and listener counts to "xengine ↵Justin Clark-Casey (justincc)1-0/+5
status" command. This is for diagnostic purposes.
2012-03-06Remove unnecessary explicit ElapsedEventHandler in SimReporterJustin Clark-Casey (justincc)1-1/+1
2012-03-06Null PhysActor on SOP.Copy() to prevent clobbering the original oneMelanie1-4/+3
2012-03-06Explictly close down the StatsReporter so that we can shutdown its timerJustin Clark-Casey (justincc)2-0/+8
This is another step necessary for the scene to be garbage collected between performance tests
2012-03-06Removed some whitespace errors - don't be naughty, don't use hard tabs!Melanie1-11/+0
Also removed commented code block.
2012-03-06make copied parts have diferent LocalIds than original. More building ↵UbitUmarov2-5/+74
control for ubitODE. for all let physics know about linking of physical parts. Assume UNTESTED
2012-03-05A stab at making llEjectFromLand work in all casesMelanie1-3/+10
2012-03-04Zero velocity when drag-copyingMelanie1-0/+2
2012-03-02Remove outdated comment about checking attachment prims in ↵Justin Clark-Casey (justincc)1-3/+1
Scene.PipeEventsForScript()
2012-03-02Allow a script to receive events if its root prim is in an area where it's ↵Justin Clark-Casey (justincc)1-4/+1
allowed to run rather than checking its own prim. This allows scripts to run in child prims that are outside region boundaries. This is an interim patch applied from http://opensimulator.org/mantis/view.php?id=5899 though it does not resolve that bug Thanks tglion!
2012-03-02ScenePresence line endings and fix AllowMovement default to true.Dan Lake1-30/+30
2012-03-02minor: remove mono compiler warningJustin Clark-Casey (justincc)1-2/+1
2012-03-01In ScenePresence, removed several private variables used to store public ↵Dan Lake1-108/+44
parameters. They were only used by the get/set and make code harder to refactor.
2012-02-27Fix vehicles going physical stopping llTargetOmega parts (boat radar)Melanie1-3/+5
2012-02-26Make llSetKeyframedMotion prims waut at the borders of down sims and try againMelanie1-0/+12
periodically.
2012-02-26Move KeyframeMotion from SOG to SOP because we can't persist it anyMelanie5-25/+38
other way because SOG doesn't technically exist in the DB
2012-02-26Implement proper selection behaviorMelanie3-2/+37
2012-02-26Implement KeyframedMotion selection behaviorMelanie3-2/+37
2012-02-26Fix deserialization of Buoyancy, Force and Torque. Remove debug from the newMelanie4-9/+7
code.
2012-02-26Fix an infinite recursion caused by checking the wrong values forMelanie1-24/+27
Buoyancy, Force and Torque
2012-02-26Serialize Keyframe motion for region crossingsMelanie4-4/+96
2012-02-26Implement llSetKeyframedMotion. No persistence, no region crossing. Yet.Melanie3-0/+330
2012-02-25 changed SOP Force and Torque, adding XML (de/)serialization, also changed ↵UbitUmarov3-35/+98
Buoyance. PLEASE trap deserialization from inventory etc, making force and torque vector3.Zero, unless we want then to rez moving. (needs checking/testing as usual)
2012-02-25Delay the sending of the initial werables update until the inventory andMelanie1-2/+1
VFS in the viewer are ready. We're much faster than SL and that exposes this race condition. Also reinstate the extra avatar data send on login
2012-02-24Try not to send the avatar updates on login. This may mean loggin in withMelanie1-1/+2
invisible attachments again but could help the appearance issues.
2012-02-24Take watchdog alarm calling back outside the m_threads lock.Justin Clark-Casey (justincc)1-2/+2
This is how it was originally. This stops a very long running alarm callback from causing a problem.
2012-02-24Get rid of some of the identical exception catching in Scene.Update().Justin Clark-Casey (justincc)1-17/+1
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)1-3/+9
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-23Partially apply the core banlines fixMelanie2-6/+9
2012-02-23Try to resolve some problems with viewers crashing after hitting parcel ↵Justin Clark-Casey (justincc)2-10/+20
banlines or freezing on the banline. This involves 1) On forcible teleport, call m_scene.RequestTeleportLocation() rather than ScenePresence.Teleport() - only EntityTransferModule now should call SP.Teleport() 2) When avatar is being forcibly moved due to banlines, use a 'stop movement' tolerance of 0.2 to requested position rather than 1 This prevents the avatar sometimes being stuck to banlines until they teleport somewhere else. This aims to fix some problems in http://opensimulator.org/mantis/view.php?id=5822
2012-02-23Prevent a nullref when nonphysical motion objects cross sim boundariesMelanie1-1/+1
2012-02-23Fix preserving the animation state of a crossing seated avatarMelanie1-2/+10
2012-02-23Properly sequence updates of avatars and attachments so that we don'tMelanie1-0/+3
update attachments on child avatars or intermingle agent and attachment updates, which would render the root prim of huds invisible
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie2-2/+5
potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
2012-02-22Adjust sit target and the llSetLinkPrimitiveParams sit position hackMelanie1-2/+22
to match SL.
2012-02-22Remove two spurious m_sceneGraph != null checks in Scene.cs. It's set in ↵Justin Clark-Casey (justincc)1-8/+2
constructor and never subsequent set to null.
2012-02-21Restore the taskItem null check that I accidentally blatted in 5397a6dJustin Clark-Casey (justincc)1-0/+9
This is a valid check because the caller could supply an invalid uuid.
2012-02-21Fix problem with dragging child part inventory item to user inventory.Justin Clark-Casey (justincc)1-11/+1
This fixes the problem by fixing the permissions module to look at root part permissions rather than having to do this for every caller. Resolves http://opensimulator.org/mantis/view.php?id=5569
2012-02-21Revert "Fix:Cannot drag inventory from child prim into inventory ↵Justin Clark-Casey (justincc)1-8/+4
http://opensimulator.org/mantis/view.php?id=5569" This reverts commit 15ce73caca9ea6448e34b95d344cbbf5c9507f6d. As per the COMMENTS in http://opensimulator.org/mantis/view.php?id=5569, I was going to fix this in a more general way.
2012-02-21Fix:Cannot drag inventory from child prim into inventory ↵PixelTomsen1-4/+8
http://opensimulator.org/mantis/view.php?id=5569
2012-02-21Also preserve angular velocity on crossing.Melanie1-0/+3
2012-02-21Fix bug where NPCs would establish child agents on other neighbour regions ↵Justin Clark-Casey (justincc)1-15/+14
that had come up after the NPC was created.