aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/UuidGatherer.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-06-24 a few more changes to iar/oar assets save error/warning to show problems ↵UbitUmarov1-8/+44
known to be asset errors
2017-06-23 code actually has no ideia if a id is a asset or not and does try to handle ↵UbitUmarov1-2/+2
all as assets, it really can't report errors. Change messages to make more clear they are only warnings and may mean nothing at all
2017-06-23 coment out missing or damage assets messages in uuidgather that are not ↵UbitUmarov1-10/+15
very usefull. In IAR save display information about items that contain references to broken assets. Note that as explained on mantis 8195 this can't will not detect all problems
2017-06-23several changes to iar/oar assets error reportsUbitUmarov1-6/+7
2017-06-22 change uuidgather a bit moreUbitUmarov1-16/+32
2017-06-22 split some asset uuids gather i stages with dif possible errors, and dont ↵UbitUmarov1-32/+45
let them be fatal
2017-06-21 avoid some broken object assets present in osgrid inventories due to past ↵UbitUmarov1-0/+9
problems, etc
2017-05-23 dont fail saving a OAR because of a broken materialUbitUmarov1-1/+10
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-14/+14
2016-09-27exclude invalid collision sound (used as collision type flag) from assets ↵UbitUmarov1-2/+4
UUIDGather
2015-09-02seems to compile ( tests comented out)UbitUmarov1-41/+0
2015-02-25Fix bug where the uuid gatherer was not inspecting UUIDs for items in an ↵Justin Clark-Casey (justincc)1-4/+12
embedded object's inventory. Added regression test for this case. Likely a regression since 08606ae4 (Thu Jan 8 2015) Relates to Mantises 7439, 7450 and possibly others.
2015-01-08When inspecting a script or notecard, also try to look up any assets ↵Justin Clark-Casey (justincc)1-1/+1
embedded therein. This is primarily to fix an issue where inventory items for NPC attachments would not be saved in archives as the assets referenced in the appearance notecard were not checked in this manner. Relates to http://opensimulator.org/mantis/view.php?id=7376
2015-01-08Make the IteratingUuidGatherer the only UuidGatherer.Justin Clark-Casey (justincc)1-654/+50
This UUID gatherer provides a superset of the previous gatherer's functionality as it also allows the caller to control gathering iterations for load purposes.
2014-12-05refactor: rename IteratingUuidGather.AddAssetUuidToInspect() and ↵Justin Clark-Casey (justincc)1-114/+119
RecordAssetUuids() to AddForInspection() as this properly describes what both of these methods do.
2014-12-04refactor: Make IteratingUUIDGatherer take a dictionary in its constructor ↵Justin Clark-Casey (justincc)1-9/+23
like UUIDGatherer, so we can deal with future cases where the dictionary may already be pre-populated.
2014-11-25When processing incoming attachments via HG, if a request for uuid gathering ↵Justin Clark-Casey (justincc)1-3/+18
or final asset import takes too long remove remaining requests from same user to prevent hold up of other user's incoming attachments. This improves upon the earlier naive simply queueing immplementation. Threshold is 30 seconds. If this happens to a user they can relog and fetch will be reattempted.
2014-11-25Introduce an IteratingUuidGatherer where each fetch from the asset service ↵Justin Clark-Casey (justincc)1-44/+563
(iteration) can be controlled by the caller. This is to enable an imminent change where incoming HG scene object fetching can assess the time taken by each request rather than being forced to perform all requests in one call. Soon, this will replace the existing UuidGatherer since it is both simpler and more flexible.
2014-11-25Add "wearables check" console commandJustin Clark-Casey (justincc)1-64/+158
This checks that all the wearable assets and any assets for a given logged in avatar exist in the asset service
2014-07-21Close streams immediately when we finish using themOren Hurvitz1-28/+29
2014-04-23Eliminated many warningsOren Hurvitz1-1/+1
2014-02-01In UuidGatherer, gather materials referenced in the prim's TextureEntryOren Hurvitz1-2/+15
Signed-off-by: dahlia <dahlia@nomail>
2014-01-20Add back code to UuidGatherer to retrieve UUIDs for materials stored in ↵dahlia1-0/+73
DynAttrs. This is unfortunately still necessary until a better solution for handling existing legacy materials can be implemented
2014-01-20Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz1-91/+47
"Demo" label; removed most of the logging); c) Enabled by default Changed UuidGatherer to use 'sbyte' to identify assets instead of 'AssetType'. This lets UuidGatherer handle Materials, which are defined in a different enum from 'AssetType'.
2013-12-14Wrap analysis of the particle system in the UUID Gatherer in a separate ↵Justin Clark-Casey (justincc)1-3/+12
try/catch as sometimes it appears that this can be corrupt. As per Oren's suggestion.
2013-09-19UUID Gatherer: find assets used in Light Projection, Particle Systems, and ↵Oren Hurvitz1-1/+14
Collision Sounds.
2013-06-28Add materials store null check into UuidGatherer code.Justin Clark-Casey (justincc)1-0/+4
2013-06-28Reinsert code for gathering uuids reference by materials back directly into ↵Justin Clark-Casey (justincc)1-1/+70
UuidGatherer for now. This cannot be triggered as an event from Scene.EventManager since some invocations of UuidGatherer (e.g. IAR saving) use scene objects which are not in scenes. There needs to be some way for modules to register for events which are not connected with a particular scene.
2013-06-27refactor: Move code for gathering textures referenced by materials into ↵Justin Clark-Casey (justincc)1-67/+2
MaterialsDemoModule from UuidGatherer This code is now triggered via EventManager.OnGatherUuids which modules can subscribe to.
2013-06-27Make the concept of namespaces explicit in dynamic attributesJustin Clark-Casey (justincc)1-8/+10
This is in order to reduce the likelihood of naming clashes, make it easier to filter in/out attributes, ensure uniformity, etc. All dynattrs in the opensim distro itself or likely future ones should be in the "OpenSim" namespace. This does alter the underlying dynattrs data structure. All data in previous structures may not be available, though old structures should not cause errors. This is done without notice since this feature has been explicitly labelled as experimental, subject to change and has not been in a release. However, existing materials data is being preserved by moving it to the "Materials" store in the "OpenSim" namespace.
2013-04-24UUIDGatherer now includes UUIDs which reference texture assets used as materialsdahlia1-0/+66
2013-02-02minor: change comment about assuming script references are textures in ↵Justin Clark-Casey (justincc)1-1/+2
UuidGatherer since this is no longer the behaviour.
2013-02-02Log missing assets on "fcache assets" found. This ignores references found ↵Justin Clark-Casey (justincc)1-2/+5
by scanning LSL/notecard files since these are the source of false positives. This also changes UuidGatherer to reutn an AssetType.Unknown for embedded script/lsl references instead of Texture, since these are often not textures. This is added to help people in determining when they have missing assets such as textures, etc. In this case, one wants to run "fcache clear" first.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-91/+47
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-10-20minor: Rename assetCache constructor param in UUIDGatherer to assetService ↵Justin Clark-Casey (justincc)1-2/+2
which is what it is.
2012-09-21This fixes HG attachments' missing assets (textures, etc).Diva Canto1-10/+17
Also, further improvements on HGUuidGatherer: if the assets are already in this grid don't fetch them again.
2012-09-21Moved the small HGUuidGatherer class to the file where its parent class is. ↵Diva Canto1-0/+36
No need to keep 2 separate files.
2012-09-21Rename UuidGather.m_assetCache to m_assetService. If HGUuidGatherer hasn't ↵Justin Clark-Casey (justincc)1-7/+4
been instantiated with an assetServerURL then call down to overriden UuidGatherer.GetAsset() instead of calling m_assetService.GetAsset() itself - these two codepaths are now identical.
2012-09-21Simplify UuidGatherer by performing asset fetch synchronously rather than ↵Justin Clark-Casey (justincc)1-40/+44
using the async call but waiting for completion anyway!
2011-10-23Comment out the uuid gatherer lines that I accidentally left in.Justin Clark-Casey (justincc)1-4/+4
2011-10-22Get UUIDGatherer to scan notecards in the graph for asset uuids.Justin Clark-Casey (justincc)1-16/+22
This is to support npc baked texture saving in oars and iars. May address http://opensimulator.org/mantis/view.php?id=5743
2011-09-12minor: put <remarks> tags around some method docJustin Clark-Casey (justincc)1-5/+6
2011-04-21Alter uuid gather so that it properly analyzes coalesced objects.Justin Clark-Casey (justincc)1-4/+14
This should correct save all the assets required for the items within the coalesced objects in an IAR. This should also correctly gather the items on hypergrid takes.
2011-01-07Try to fix a IAR problem reported by nebadon, where save iar seems stuck ↵Diva Canto1-0/+4
forever.
2010-11-27If we fail to gather asset uuids for a particular asset, log the failing ↵Justin Clark-Casey (justincc)1-15/+25
asset id and type
2010-09-24If the uuid gatherer fails to find the asset containing gesture metadata, ↵Justin Clark-Casey (justincc)1-0/+7
then simply return rather than generating an exception This matches existing behaviour, though better diagnostics for missing assets may be good later on. This addresses http://opensimulator.org/mantis/view.php?id=4977
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-1/+4
MapAndArray collection
2010-05-21add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)1-3/+5
2010-03-16Fixed several unhandled exceptions and performance issues with ↵John Hurliman1-11/+12
PrimitiveBaseShape.Textures. This really should be moved from a property to a method if it is going to decode a byte[] into a TextureEntry each time
2010-03-15* UuidGatherer now tracks asset types for assets it discovers. The asset ↵John Hurliman1-14/+15
types are inferred from context * OAR saving will attempt to correct unknown asset types before writing broken assets to the OAR file