aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/IMesher.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-10-13 22:30:34 +0100
committerUbitUmarov2012-10-13 22:30:34 +0100
commit5986b4ee3980d27d6e8524c4b8f5ad4c9a701288 (patch)
treecf0f71097277f93aa3927301aa684672a45a36cc /OpenSim/Region/Physics/Manager/IMesher.cs
parent retouch mesh ids (diff)
downloadopensim-SC-5986b4ee3980d27d6e8524c4b8f5ad4c9a701288.zip
opensim-SC-5986b4ee3980d27d6e8524c4b8f5ad4c9a701288.tar.gz
opensim-SC-5986b4ee3980d27d6e8524c4b8f5ad4c9a701288.tar.bz2
opensim-SC-5986b4ee3980d27d6e8524c4b8f5ad4c9a701288.tar.xz
add mesh cache expire on region startup. Expires will be relative to
previus expire (assumed done only once at startup). File 'cntr' on cache folder stores time. Deleting it will force a skip on expire. Default time is 48hours before previus startup to account for failed ones etc.
Diffstat (limited to 'OpenSim/Region/Physics/Manager/IMesher.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/IMesher.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/IMesher.cs b/OpenSim/Region/Physics/Manager/IMesher.cs
index 21a5fa0..ecc2918 100644
--- a/OpenSim/Region/Physics/Manager/IMesher.cs
+++ b/OpenSim/Region/Physics/Manager/IMesher.cs
@@ -41,6 +41,7 @@ namespace OpenSim.Region.Physics.Manager
41 IMesh GetMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex); 41 IMesh GetMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex);
42 void ReleaseMesh(IMesh mesh); 42 void ReleaseMesh(IMesh mesh);
43 void ExpireReleaseMeshs(); 43 void ExpireReleaseMeshs();
44 void ExpireFileCache();
44 } 45 }
45 46
46 // Values for level of detail to be passed to the mesher. 47 // Values for level of detail to be passed to the mesher.