aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/WearableItem.cs
diff options
context:
space:
mode:
authorJeff Ames2009-06-10 04:28:56 +0000
committerJeff Ames2009-06-10 04:28:56 +0000
commita23d64dec1cbf88abc3c7e84664a683dee534e4a (patch)
tree7e85403f29839775209481ba7f6ee55aac56f209 /OpenSim/Framework/WearableItem.cs
parentLetting the Flotsam cache be enabled even when [AssetCache] section is missin... (diff)
downloadopensim-SC-a23d64dec1cbf88abc3c7e84664a683dee534e4a.zip
opensim-SC-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.gz
opensim-SC-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.bz2
opensim-SC-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/WearableItem.cs')
-rw-r--r--OpenSim/Framework/WearableItem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WearableItem.cs b/OpenSim/Framework/WearableItem.cs
index 6675127..159306a 100644
--- a/OpenSim/Framework/WearableItem.cs
+++ b/OpenSim/Framework/WearableItem.cs
@@ -131,7 +131,7 @@ namespace OpenSim.Framework
131 { 131 {
132 //int randNum = Util.RandomClass.Next(0, 1000); 132 //int randNum = Util.RandomClass.Next(0, 1000);
133 float range = setting.VisualParam.MaxValue - setting.VisualParam.MinValue; 133 float range = setting.VisualParam.MaxValue - setting.VisualParam.MinValue;
134 // float val =((float) randNum )/ ((float)(1000.0f / range)); 134 // float val = ((float) randNum) / ((float)(1000.0f / range));
135 float val = (float)Util.RandomClass.NextDouble() * range * 0.2f; 135 float val = (float)Util.RandomClass.NextDouble() * range * 0.2f;
136 setting.Value = setting.VisualParam.MinValue + (range / 2) + val; 136 setting.Value = setting.VisualParam.MinValue + (range / 2) + val;
137 } 137 }