mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
cleaned up some mono compiler warnings
This commit is contained in:
@@ -39,7 +39,7 @@ namespace SimpleApp
|
||||
public FileSystemObject(Scene world, FileInfo fileInfo, LLVector3 pos)
|
||||
: base(world, world.RegionInfo.RegionHandle, LLUUID.Zero, world.NextLocalId, pos, BoxShape.Default)
|
||||
{
|
||||
float size = (float) Math.Pow((double) fileInfo.Length, (double) 1/3)/5;
|
||||
//float size = (float) Math.Pow((double) fileInfo.Length, (double) 1/3)/5;
|
||||
// rootPrimitive.ResizeGoup(new LLVector3(size, size, size));
|
||||
Text = fileInfo.Name;
|
||||
ScheduleGroupForFullUpdate();
|
||||
|
||||
@@ -56,8 +56,8 @@ namespace SimpleApp
|
||||
|
||||
for (int i = 0; i < 65536; i++)
|
||||
{
|
||||
int x = i%256;
|
||||
int y = i/256;
|
||||
//int x = i%256;
|
||||
//int y = i/256;
|
||||
|
||||
map[i] = 25f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user