Justin Clark-Casey (justincc)
|
cd666a3d2c
Serialize calls to ODE Collide() function across OdeScene instances to prevent ODE crashes on simulators running more than one region.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
356e8516f0
Restrict accessible of ODECharacter Shell and Body. Add method doc and some error log lines.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
1b3ae566e8
Adding commented out log messages and some minor formatting for future bug hunting. No functional changes.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
1cf57c83e1
Align default ODE_STEPSIZE with that already used through OpenSimDefaults.ini
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
903da8acbd
Simplify some manipulation of _taintedActors in OdeScene
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
cfdccdd71c
Eliminate _taintedPrimsH and _taintedPrimsL (and _taintedPrimLock) in favour of just a _taintedPrims HashSet.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
7a8dd539fd
minor: remove pointless comment from OdeScene.cs
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
0a0e285919
remove some mono compiler warnings
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
9730a862db
Log error if we attempt to add/remove an OdeCharacter from the _characters list inappropriately
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
754d6036ea
Stop removing actor from the hash maps in OdeScene.RemoveCharacter() since this is now being down in OdeCharacter.DestroyOdeStructures()
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
476d893630
Comment out uncalled OdeScene.UnCombine()
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
8ab2d42143
slightly simplify OdeScene.Simulate() by removing bool processtaints, since we can inspect count of taint lists instead.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
7171913400
Slightly improve "Unable to space collide" logging message, though I don't think I've ever seen this.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
0cf5c0837b
Get rid of OdeCharacter != null checks since OdeScene._characters can never contain a null character.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
1edfe05c16
remove unnecessary OdeScene._activeprims locking. Code is single-threaded
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
bba4577d88
Restore defects list. In hindsight, the reason for this is becuase we can't remove the character whilst iterating over the list.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
5c305494ae
simplify operation of OdeScene._perloopContact
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
4b2b0d4a05
don't bother locking OdeScene._perloopContact in single threaded code
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
61848ebe0d
don't lock OdeScene.contacts since only ever accessed by a single thread
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
b528150d16
Comment out calls to OdeScene.waitForSpaceUnlock() since that method does nothing right now
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
4a99619bc0
Reduce complexity of OdeScene.Simulate() by fully removing bad characters at point of detection rather than later on.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
5bd27b7b22
move geom/actor map maintenance into DestroyODEStructures()/AvatarGeomAndBodyCreation().
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
8ea97cc608
When changing avatar size in ODE, remove the old actor from the name and actor maps
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
1850b778e2
When an ODECharacter is removed (e.g. when an avatar leaves a scene), remove the actor reference in OdeScene.actor_name_map rather than leaving it dangling.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
c253539c04
Instead of generating a new list for bad characters on every physics pass, keep reusing the same list.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
057b78bfbe
Fix bug where collision event listeners were not removed once the listener had gone away.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
d4fc07aae1
minor: rename a parameter in OdeScene.Simulate() from actor -> prim since it's an OdePrim
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
a556930456
Store scene identifier passed in to OdeScene for later debug messages
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
1a008b237b
Don't bother taking OdeLock during OdeScene construction, since there can be no contention until the object is constructed.
|
13 жил өмнө |
Justin Clark-Casey (justincc)
|
5980d57b7a
minor: method doc to explain a lock of OdeLock
|
13 жил өмнө |