diff options
author | Jeff Ames | 2007-11-18 15:14:37 +0000 |
---|---|---|
committer | Jeff Ames | 2007-11-18 15:14:37 +0000 |
commit | 924026d01c1dd25218e9a4296eb27640091405f3 (patch) | |
tree | 7d9e8fcb28b0ce6090cc42c4754d5673bb2853c2 /OpenSim/Region/Examples | |
parent | first stab at implementation of CopyInventoryItem (diff) | |
download | opensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.zip opensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.tar.gz opensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.tar.bz2 opensim-SC-924026d01c1dd25218e9a4296eb27640091405f3.tar.xz |
cleaned up some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs b/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs index 7b1420b..b3084a2 100644 --- a/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs +++ b/OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs | |||
@@ -39,7 +39,7 @@ namespace SimpleApp | |||
39 | public FileSystemObject(Scene world, FileInfo fileInfo, LLVector3 pos) | 39 | public FileSystemObject(Scene world, FileInfo fileInfo, LLVector3 pos) |
40 | : base(world, world.RegionInfo.RegionHandle, LLUUID.Zero, world.NextLocalId, pos, BoxShape.Default) | 40 | : base(world, world.RegionInfo.RegionHandle, LLUUID.Zero, world.NextLocalId, pos, BoxShape.Default) |
41 | { | 41 | { |
42 | float size = (float) Math.Pow((double) fileInfo.Length, (double) 1/3)/5; | 42 | //float size = (float) Math.Pow((double) fileInfo.Length, (double) 1/3)/5; |
43 | // rootPrimitive.ResizeGoup(new LLVector3(size, size, size)); | 43 | // rootPrimitive.ResizeGoup(new LLVector3(size, size, size)); |
44 | Text = fileInfo.Name; | 44 | Text = fileInfo.Name; |
45 | ScheduleGroupForFullUpdate(); | 45 | ScheduleGroupForFullUpdate(); |
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 8cfbf27..b501baf 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |||
@@ -56,8 +56,8 @@ namespace SimpleApp | |||
56 | 56 | ||
57 | for (int i = 0; i < 65536; i++) | 57 | for (int i = 0; i < 65536; i++) |
58 | { | 58 | { |
59 | int x = i%256; | 59 | //int x = i%256; |
60 | int y = i/256; | 60 | //int y = i/256; |
61 | 61 | ||
62 | map[i] = 25f; | 62 | map[i] = 25f; |
63 | } | 63 | } |