| Commit message (Collapse) | Author | Files | Lines |
|
objects have been fetched.
Update TODO list with more work.
|
|
to the documented maximum from the outragious number previously.
|
|
script wait event (llSleep(), etc.)
This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability.
If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread.
This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period.
Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented.
This commit, unlike 1b5c41c, passes the wait handle as an extra parameter through IScript.Initialize() instead of passing IScriptInstance itself.
|
|
during a script wait event (llSleep(), etc.)"
Doing this as a favour to Melanie. This will be back with passing the wait handles directly to the api.
This reverts commit 1b5c41c14ad11325be249ea1cce3c65d4d6a89be.
|
|
script wait event (llSleep(), etc.)
This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability.
If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread.
This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period.
Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented.
|
|
pass down IScriptInstance instead.
This is to allow the future co-operative script thread terminate feature to detect and act upon termination requests.
This splits the assembly and state loading out from the ScriptInstance() constructor to a separate Load() method
in order to facilititate continued script logic regression testing.
|
|
Added registration json-rpc handlers in the http server. Covers version 2.0
See: http://www.jsonrpc.org/specification
|
|
|
|
because the computations are wrong.
Add VehicleTorqueImpulse routines.
|
|
Free pinned memory when physics engine is unloaded.
|
|
and enable friction computation caching. Remove dangerous BulletSim
settings from OpenSimDefaults.ini.
|
|
other than the object currently sat on
|
|
went wrong, rather than a possibly unhelpful simple exception message.
|
|
Add locking on register prestep action list preventing potential race conditions.
Little comment and formatting changes.
|
|
instead of sometimes but not always looking it up.
|
|
Move physical prim above ground if it is underground. Previously tried to correct by applying and up force but the prim would never go through the ground.
|
|
Necessitated allowing simulator and physical position of a body to
get out of sync since Bullet assumes that <0,0,0> is the center of mass.
Update DLLs and SOs for the UpdateChildTransform so positions of
individual prim in a linkset can be implemented.
|
|
the physics engines to return the name that is specified in the INI
file ("physics = XXX") as the type of engine.
This os function is a little different than the others in that it
does not throw an exception of one is not privilaged to use it.
It merely returns an empty string.
|
|
to see if physical before trying to step. Replace vehicle gravity application. Previously relying on Bullet to apply gravity but since vehicles over-ride the velocity calculation, gravity never had a chance to accelerate the body down. Added AddForceImpulse as well as AddForce for those who need to apply immediate velocity updates. Use the impulse to apply the linear motion.
|
|
rather than just saying it happened.
|
|
algorithm for limitMotorUp that relies on going up when not colliding rather than distance from ground. Add parameter for turning on and off embedded source vehicle debugging.
|
|
buoyancy. Add motor angular debugging controls.
|
|
remembering that the last asset fetch failed until the simulator resets the shape parameters.
|
|
|
|
the user before logout instead of wrongly removing the script early.
This workaround relies on the fact that a closing client goes inactive before the attachments derez calls happen.
This reverts the change to remove scripts too early instead of stopping them, since the the two step stop then remove is necessary to execute the detach event.
|
|
This involves making Attachments module listen for start/stop script changes.
It also involves removing the script from the region on detach in the same manner as every other DeleteSceneObject() call rather than simply stopping it
This is necessary tue to the bad assymetry of start and stop script triggers but it appears to be the correct behaviour anyway, as detached objects are completely gone from the sim.
Not just in a state where their scripts have been stopped.
|
|
via the viewer estate dialog stopped working.
Forgot to register the new interface.
Also removes some code which got included by adpating an existing module.
|
|
|
|
scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
|
|
periodic backup
This is rather than making unnecessary duplicate checks that the SOG later performs again.
|
|
|
|
|
|
|
|
disable periodic scene backup. For debug purposes.
If false, scene is still saved on shutdown.
|
|
HGAssetBroker doesn't try to save back to the avatar's originating region
|
|
|
|
Also, "show sensors" changes to "show script sensors".
|
|
|
|
fix up code comment
|
|
|
|
Fix problem of vehicles going crazy when backing up.
|
|
This reverts commit 5561333668f61f043cdfc0733a4eb50a1bcfb14e.
|
|
This reverts commit a775931a0cec9f65748c6e20dd2695edcbe21b7f.
|
|
match other scripts commands (and it's own short help text)
|
|
|
|
|
|
|
|
work.
|
|
Rotate angular correction forces to be world relative rather than vehicle relative.
|
|
It looks like BulletSim and ODE rely on penetration correction to cause
the avatar to move up and thus allowing walking up stairs. Object
penetration was minimized for walking and flying (so one doesn't go
through walls) and this stopped stairs from working. This commit
introduces avatar movement code to check for collisions at the
feet while walking and attempts to raise the avatar for the steps.
Not yet perfect but movement is better.
|