aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp
diff options
context:
space:
mode:
authorJeff Ames2007-11-18 15:14:37 +0000
committerJeff Ames2007-11-18 15:14:37 +0000
commit924026d01c1dd25218e9a4296eb27640091405f3 (patch)
tree7d9e8fcb28b0ce6090cc42c4754d5673bb2853c2 /OpenSim/Region/Examples/SimpleApp
parentfirst stab at implementation of CopyInventoryItem (diff)
downloadopensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.zip
opensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.tar.gz
opensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.tar.bz2
opensim-SC_OLD-924026d01c1dd25218e9a4296eb27640091405f3.tar.xz
cleaned up some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/FileSystemObject.cs2
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyWorld.cs4
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 }