Commit Graph

174 Commits

Author SHA1 Message Date
Melanie Thielker
a5151bb337 Refactor asset handling as per Ubit's suggestion 2017-02-01 16:31:01 +00:00
Melanie Thielker
5a18ea31cf Make negative asset caching actually work
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-30 13:59:05 +00:00
Melanie Thielker
6d44ee9099 Change improperly named isNPC to be IsNPC as a property should be uppercase 2017-01-07 20:30:51 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Melanie Thielker
f021c64eb0 Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone. 2016-12-29 12:34:09 +00:00
UbitUmarov
a99df75a30 (mantis 7983) update local cache when storing a baked tex on assets server 2016-08-02 17:45:06 +01:00
Melanie Thielker
ea8f3c83bf Finally remove the requirement for an InventoryItem/FolderBase object to
be passed into inventory queries.
This makes the API more homogenous and also will more clearly show
coding
errors related to HG inventory where the .Owner field has a meaning
for a query but wasn't always set.
2016-07-04 03:35:48 +01:00
UbitUmarov
0ae7b7e7e8 change handling of optional skirt baked texture 2015-12-03 16:21:43 +00:00
UbitUmarov
a4ed111de1 cleanup indentation 2015-11-18 17:45:56 +00:00
UbitUmarov
6dafce9a12 fix another variable number of wearable types issue 2015-11-18 17:35:26 +00:00
UbitUmarov
8567ef3c40 work around some 'tests' errors: test for null cacheItems 2015-11-17 03:00:27 +00:00
Melanie Thielker
69585a4824 More plumbing of the EntityTransferContext (not yet complete) 2015-11-01 19:11:14 +01:00
UbitUmarov
a11edceb00 seems to compile ( tests comented out) 2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af bad merge? 2015-09-01 14:54:35 +01:00
Diva Canto
959872315f WARNING: massive refactor to follow libomv's latest changes regarding inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum.
This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter.
All tests pass, but fingers crossed!
2015-08-08 12:12:50 -07:00
Justin Clark-Casey (justincc)
ec8d21c434 Label all threadpool calls being made in core OpenSimulator. This is to add problem diagnosis.
"show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
fc878a33ed refactor: consistently put all test classes in the OpenSim.Tests.Common package rather than some in OpenSim.Tests.Common.Mock
the separate mock package was not useful and was just another using line to always add
2014-11-25 23:21:37 +00:00
Melanie Thielker
bec456c2a5 Remove the Invisible stuff and add more baked caching. Refactor selection of textures to save to Bakes module. 2014-11-11 07:09:30 +01:00
Melanie Thielker
36ecad98a1 Only send the actual bakes to the bakes module 2014-11-10 04:48:19 +01:00
UbitUmarov
d0dfa721f2 change last commit, need to send to Xbakes or changes will not be detected 2014-10-29 06:56:54 +00:00
UbitUmarov
7723b1bcd3 bug fix and don't send to xbakes if requesting rebakes 2014-10-29 06:55:04 +00:00
UbitUmarov
afa2466951 Fix baked textures for regions without external Xbakes adding rebake
requests. Those may also be trigger if for same reason one is missing even
with Xbakes. Later we can let this regions send the assets on teleports,
changing how those are serialized
2014-10-29 06:35:23 +00:00
UbitUmarov
c46c3a27ae do consider skirt baked texture on validation 2014-10-26 18:53:11 +00:00
UbitUmarov
736490dcb6 dont send baked textures assets, but send cache information 2014-10-26 18:13:44 +00:00
UbitUmarov
9c552212a9 exclude npcs from baked cache 2014-09-19 16:51:51 +01:00
Justin Clark-Casey (justincc)
91e1aaa5d4 On teleport to a region that already has a child agent established (e.g. a neighbour) don't resend all the initial avatar and object data again.
This is unnecessary since it has been received (and data continues to be received) in the existing child connection.
2014-08-15 21:47:34 +01:00
UbitUmarov
d64fb216d2 try external bakedModule when local cache is invalid and not just at login 2014-08-14 15:39:46 +01:00
UbitUmarov
96cc4e5b95 reduced debug msgs 2014-08-14 04:01:54 +01:00
UbitUmarov
ab4df26309 only try external baked texture module on login 2014-08-14 03:47:18 +01:00
UbitUmarov
a1cc218f10 *DANGER* make baked textures cross and make use of it * UNTESTED *
issue:  alll this seems to be sent back to childs, need to stop that
2014-08-14 01:53:51 +01:00
UbitUmarov
1bd13155e6 put back baked textures debug msgs at start of validatebaked... 2014-08-13 20:43:26 +01:00
UbitUmarov
e860dd33fa remove confusing defonly control 2014-08-11 00:54:30 +01:00
UbitUmarov
306875fc61 ... one day.. 2014-08-11 00:49:11 +01:00
UbitUmarov
9217d5ca31 will get there.. 2014-08-11 00:44:34 +01:00
UbitUmarov
0a9925ff4a validatebaked still not ok 2014-08-11 00:28:14 +01:00
UbitUmarov
ebbf236abc of course.. bug.. 2014-08-08 02:25:31 +01:00
UbitUmarov
9aa6389b8b lock set appearence during ValidateBakedTextureCache there seems to be a
overlap in same cases
2014-08-08 02:22:18 +01:00
UbitUmarov
73cbdf2c6b bug 2014-08-07 22:00:23 +01:00
UbitUmarov
6d372f3d9e remove annoying debug msg . still a lot of spam, but to remove later 2014-08-07 21:37:11 +01:00
UbitUmarov
f788947594 make grid baked textures override the ones on appearance. Due to bug
somewhere they are always bad at ValidateBakedTextures entry. ( even if
 they where good and on assets cache we whould need to generate the
 cacheID hash )
2014-08-07 21:24:52 +01:00
UbitUmarov
38e2e5942c bug on upload new bakes decision 2014-08-07 19:16:51 +01:00
UbitUmarov
dfa9ba0937 minor clean, dont check for cache if we aren't using it.. 2014-08-07 08:47:03 +01:00
UbitUmarov
a95afb7fc5 bug 2014-08-07 07:36:23 +01:00
UbitUmarov
12d8ed2dcd only send to bakedmodule the baked textures :) 2014-08-07 07:08:01 +01:00
UbitUmarov
b7f24bacce bugg 2014-08-07 06:09:56 +01:00
UbitUmarov
c3f9c99fb3 DANGER... changed bakedtextures caching. Assuming grid baking is cache
only, reduced number of accesses to it. TESTING
2014-08-07 05:20:45 +01:00
Justin Clark-Casey (justincc)
91b7679db9 minor: Fix warning in AvatarFactoryModule 2014-04-03 00:35:42 +01:00
Justin Clark-Casey (justincc)
26fe59c35e Improve regression test TestSetAppearance() 2014-02-24 19:43:06 +00:00
Justin Clark-Casey (justincc)
bc9952f901 Re-enable regression TestSaveBakedTextures() 2014-02-24 19:30:33 +00:00
Justin Clark-Casey (justincc)
fd1b2a1c57 Stop mesh avatars that specify the alpha texture in their bake slots from causing the simulator to continually request that they rebake
This is because the alpha texture is not in the cache, we must continue to have the fallback of looking for these and other persisted bakes in the asset service.
Relates to http://opensimulator.org/mantis/view.php?id=6927
2014-02-24 19:20:50 +00:00