diff options
author | lbsa71 | 2009-02-12 09:53:12 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-12 09:53:12 +0000 |
commit | 801da4346aeb3c08969c4845f5c595135a64470a (patch) | |
tree | 2f06e24c72e0d513c8e4c6aa9b75cd2c7b50f393 /OpenSim/Framework/WearableItem.cs | |
parent | Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Ma... (diff) | |
download | opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.zip opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.gz opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.bz2 opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.xz |
* optimized usings.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/WearableItem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WearableItem.cs b/OpenSim/Framework/WearableItem.cs index 414b135..7a4b4de 100644 --- a/OpenSim/Framework/WearableItem.cs +++ b/OpenSim/Framework/WearableItem.cs | |||
@@ -132,7 +132,7 @@ namespace OpenSim.Framework | |||
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)OpenSim.Framework.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 | } |
138 | } | 138 | } |