| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |/ / / / |
|
|\ \ \ \ \
| | |_|/ /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
search data
|
| | | | |
| | | | |
| | | | |
| | | | | |
regarding prim positioning.
|
| | | | | |
|
|\ \ \ \ \
| | |_|/ /
| |/| | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
because the computations are wrong.
Add VehicleTorqueImpulse routines.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Free pinned memory when physics engine is unloaded.
|
| |\ \ \ \ |
|
| | | |/ /
| | |/| |
| | | | |
| | | | | |
other than the object currently sat on
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
and enable friction computation caching. Remove dangerous BulletSim
settings from OpenSimDefaults.ini.
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Conflicts:
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
|
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| | |_|/ /
| |/| | | |
|
| | |_|/
| |/| | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
clients and not only on Scheduled sends
|
| | | |
| | | |
| | | |
| | | | |
in SOG Update(). rootpart does more complet checks
|
| | | |
| | | |
| | | |
| | | | |
imediatly. If that's good for physics, needs to be good for this
|
| | | |
| | | |
| | | |
| | | | |
update and we are sending them imediatly
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|