aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Materials (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-20rather than converting existing materials to assets, just retrieve them and ↵dahlia1-32/+12
make them available for viewing. Any new materials added to the scene will become assets.
2014-01-20add null texture entry face check before converting legacy materialsdahlia1-2/+2
2014-01-20force SOG update when converting legacy materials to ensure changes are ↵dahlia1-0/+2
persisted
2014-01-20delay texture entry parsing until absolutely necessary while converting ↵dahlia1-4/+4
legacy materials
2014-01-20Add code to convert legacy materials stored in DynAttrs to new asset format ↵dahlia1-20/+102
and store them as assets
2014-01-20Check agent permissions before modifying an object's materials. Also, when ↵Oren Hurvitz1-10/+21
creating a Material asset, set the current agent as the Creator.
2014-01-20When asked to change the Material for one face, change only that face; not ↵Oren Hurvitz1-18/+5
the default material
2014-01-20Materials module: a) Store materials as assets; b) Finalized it (removed the ↵Oren Hurvitz1-327/+191
"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'.
2014-01-20Renamed MaterialsDemoModule to MaterialsModuleOren Hurvitz1-1/+1
2014-01-20- Materials: support the viewer removing the material (in which case ↵Oren Hurvitz1-35/+42
matsMap["Material"] is missing) - Reduced logging
2013-07-11Try naming the materials handlers again, this time registering the POST as ↵Justin Clark-Casey (justincc)1-3/+6
RenderMaterials This was probably the mistake. The other handlers are named RenderMaterials as well but this actully has no affect apart from on stats, due to a (counterintuitive) disconnect between the registration name and the name of the request handler. Will be tested very soon and reverted if this still does not work.
2013-07-10remove names from Capability handlers (added by justincc in commit ↵dahlia1-7/+4
013710168b3878fc0a93a92a1c026efb49da9935) as they seem to disable the use of multiple access methods for a single Capability in MaterialsDemoModule
2013-07-08remove some cruft and trigger a rebuilddahlia1-1/+0
2013-07-08remove an invalid null UUID check which caused a warningdahlia1-8/+1
2013-07-08For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)1-4/+7
not set
2013-06-28add some locking to materials storage dictionarydahlia1-30/+42
2013-06-28Reinsert code for gathering uuids reference by materials back directly into ↵Justin Clark-Casey (justincc)1-67/+69
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-27and yet another check for null returned from DynAttrs.GetStore()dahlia1-0/+4
2013-06-27test for null return from DynAttrs.GetStore()dahlia1-0/+3
2013-06-27refactor: Move code for gathering textures referenced by materials into ↵Justin Clark-Casey (justincc)1-2/+70
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-16/+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-20Materials persistence via SceneObjectPart.dynAttrs. This appears to work ↵dahlia1-8/+154
across region restarts and taking objects into inventory, but probably will not work across archiving via OAR or IAR as materials texture assets may not be adequately referenced to trigger archiving.
2013-04-20handle PUT verb for RenderMaterials Capdahlia1-1/+5
2013-04-19RenderMaterials POST Cap now return material entries when invoked with an ↵dahlia1-61/+108
OSDArray of MaterialIDs
2013-04-18remove default parameter value that apparently mono cant handledahlia1-1/+1
2013-04-18Initial experimental support for materials-capable viewers. This is in a ↵dahlia1-0/+382
very early stage and this module is disabled by default and should only be used by developers for testing as this module could cause data corruption and/or viewer crashes. No materials are persisted yet.