From fb6aa6eafc476ff7c2987395cd8c9c8d8fb4e827 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Sat, 27 Oct 2007 11:45:52 +0000 Subject: * Added 'Jim' and 'Goblin' shapes; not available in inventory yet though --- OpenSim/Framework/Communications/Cache/AssetTransactions.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Communications/Cache') diff --git a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs index 581e300..f23441d 100644 --- a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs +++ b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs @@ -287,7 +287,9 @@ namespace OpenSim.Framework.Communications.Cache if (m_dumpAssetToFile) { - SaveAssetToFile("testudpupload" + Util.RandomClass.Next(1, 1000) + ".dat", this.Asset.Data); + DateTime now = DateTime.Now; + string filename = String.Format("{6}_{7}_{0:d2}{1:d2}{2:d2}_{3:d2}{4:d2}{5:d2}", now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second, Asset.Name, Asset.Type ); + SaveAssetToFile(filename, this.Asset.Data); } } -- cgit v1.1