diff options
author | Justin Clark-Casey (justincc) | 2012-09-06 22:12:05 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-06 22:12:05 +0100 |
commit | 8f02fd926e14dfad7f5eb77a67a6701f449511e0 (patch) | |
tree | 08e15f6bb44ff84027c278c51bb55a22951d5ecd /OpenSim/Region/CoreModules/World | |
parent | Added missing configs, and deleted the [Profile] part on the Hypergrind config. (diff) | |
download | opensim-SC-8f02fd926e14dfad7f5eb77a67a6701f449511e0.zip opensim-SC-8f02fd926e14dfad7f5eb77a67a6701f449511e0.tar.gz opensim-SC-8f02fd926e14dfad7f5eb77a67a6701f449511e0.tar.bz2 opensim-SC-8f02fd926e14dfad7f5eb77a67a6701f449511e0.tar.xz |
If reusing dynamic textures, do not reuse small data length textures that fall below current viewer discard level 2 thresholds.
Viewer LL 3.3.4 and before sometimes fail to properly redisplay dynamic textures that have a small data length compared to pixel size when pulled from cache.
This appears to happen when the data length is smaller than the estimate discard level 2 size the viewer uses when making this GetTexture request.
This commit works around this by always regenerating dynamic textures that fall below this threshold rather than reusing them if ReuseDynamicTextures = true
This can be controlled by the [Textures] ReuseDynamicLowDataTextures config setting which defaults to false.
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs index 5deaf52..904110e 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | |||
@@ -51,7 +51,7 @@ using RegionSettings = OpenSim.Framework.RegionSettings; | |||
51 | namespace OpenSim.Region.CoreModules.World.Archiver.Tests | 51 | namespace OpenSim.Region.CoreModules.World.Archiver.Tests |
52 | { | 52 | { |
53 | [TestFixture] | 53 | [TestFixture] |
54 | public class ArchiverTests | 54 | public class ArchiverTests : OpenSimTestCase |
55 | { | 55 | { |
56 | private Guid m_lastRequestId; | 56 | private Guid m_lastRequestId; |
57 | private string m_lastErrorMessage; | 57 | private string m_lastErrorMessage; |