aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneViewer.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lock m_pendingObjects when calling GetPendingObjectsCount().Justin Clark-Casey (justincc)2011-09-061-1/+2
| | | | | | This is only called by a region console command. We should also be locking m_partsUpdateQueue when dequeueing the next part, or locking m_pendingObjects in QueuePartForUpdate(). However, I won't do this now since I don't have time to analyze how this would affect liveness.
* Comment out SceneViewer.Reset() and stop calling from Close() since this is ↵Justin Clark-Casey (justincc)2011-09-061-16/+17
| | | | | | useless work as a closed scene object is never reset. Strictly speaking, we could also stop bothering to clear the m_updateTimes and m_partsUpdateQueue if we are sure that the whole SceneViewer is shortly to be garbage collected anyway, but we'll leave them around for now.
* In SceneViewer, introduce an IsEnabled flag and perform Close() under an ↵Justin Clark-Casey (justincc)2011-09-061-18/+41
| | | | m_pendingObjects lock in order to avoid the race condition seen by danbanner in http://opensimulator.org/mantis/view.php?id=5669
* Remove pointless cluttering SOP.ParentGroup != null checks.Justin Clark-Casey (justincc)2011-09-011-1/+1
| | | | | The only times when ParentGroup might be null is during regression tests (which might not be a valid thing) and when scene objects are being constructed from the database. At all other times it's not possible for a SOP not to have a SOG parent.
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-271-2/+1
| | | | pointless duplication of identical values
* New command: show pending-objectsDiva Canto2011-02-061-0/+8
|
* Guard against locking a nullref to avoid build breakMelanie2010-10-081-0/+3
|
* Change the order of actions to address a possible nullrefMelanie2010-10-081-3/+2
|
* Formatting cleanup.Jeff Ames2010-09-121-2/+2
|
* First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman2010-09-101-1/+2
|
* One should not lock null objects.Melanie Thielker2010-06-011-5/+8
|
* Lock the object queue when dequeueingMelanie2010-06-011-78/+81
|
* Prevent a null refMelanie Thielker2010-05-271-0/+3
|
* OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+0
|
* Object update prioritization by Jim Greensky of Intel Labs, part one. This ↵John Hurliman2009-10-151-21/+2
| | | | implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
* Update svn properties.Jeff Ames2009-06-271-230/+230
|
* Fixed null bug, which was making unit tests failMW2009-06-261-3/+7
|
* Extracted the code that handles the sending of prim updates to the client, ↵MW2009-06-261-0/+226
from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes. By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]