aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-07prims have at most 9 face texturesUbitUmarov1-2/+2
2019-01-20cosmetics on terrain patchsUbitUmarov1-2/+0
2018-04-01 coment out a debug lineUbitUmarov1-1/+1
2018-04-01 several changes to materials, add llSet*PrimtiveParams*() support for them. ↵UbitUmarov1-228/+292
They may be very broken now :(
2017-01-30Make negative asset caching actually workMelanie Thielker1-2/+1
Also fixes some merge artefacts in HGAssetBroker where cached assets were requested but not actually used and completely squelch a materials debug message because there is nothing the user can do to fix it anyway.
2017-01-30Comment two very spammy debug messages that the usr can't do anything aboutMelanie Thielker1-1/+2
Make a third one conditional.
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-20/+20
2016-12-29Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache ↵Melanie Thielker1-2/+2
is long gone.
2016-11-23 safeguard against unknown material replacemetUbitUmarov1-1/+1
2016-09-04try to reduce the amount of assets created editing materialsUbitUmarov1-23/+167
2016-09-04make sure materials are cached. Split POST and PUT handlers for better ↵UbitUmarov1-125/+156
readability
2015-08-11Fixed mistakes in string format specifiers (e.g., "{0)" instead of {0}")Oren Hurvitz1-1/+1
2015-06-19Add MaxMaterialsPerTransaction to SimFeaturesCinder1-0/+14
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-02-05replace accidently deleted line from last commitdahlia1-0/+2
2015-02-05Allow MaterialsModule to be enabled by default if [Materials] is absent from ↵dahlia1-9/+6
OpenSim.ini
2014-12-29Updated OpenSim-as-addin version from 0.5 to 0.8.1. The addin version number ↵Diva Canto1-1/+1
doesn't need to match the release version number, but I think it's a very good idea that they do.
2014-06-16If MaterialsModule unexpected sees a part with DefaultTexture of null, log ↵Justin Clark-Casey (justincc)1-0/+4
this with a warning.
2014-06-16In materials module, if a texture entry somehow has no default entry then ↵Justin Clark-Casey (justincc)1-1/+2
don't try to extract materials data rather than throw an exception
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.