| 43 |
|
|
| 44 |
private static Dictionary<ulong, Simulator> Simulators = new Dictionary<ulong, Simulator>(); |
private static Dictionary<ulong, Simulator> Simulators = new Dictionary<ulong, Simulator>(); |
| 45 |
private static Dictionary<string, VObject> Entities = new Dictionary<string, VObject>(); |
private static Dictionary<string, VObject> Entities = new Dictionary<string, VObject>(); |
| 46 |
|
private static Dictionary<UUID, VObject> Avatars = new Dictionary<UUID, VObject>(); |
| 47 |
|
|
| 48 |
private static bool ctrlHeld = false; |
private static bool ctrlHeld = false; |
| 49 |
private static bool shiftHeld = false; |
private static bool shiftHeld = false; |
| 510 |
} |
} |
| 511 |
if (vObj.prim.Textures != null) |
if (vObj.prim.Textures != null) |
| 512 |
{ |
{ |
| 513 |
|
if (vObj.prim.Textures.DefaultTexture != null) |
| 514 |
|
{ |
| 515 |
|
if (vObj.prim.Textures.DefaultTexture.TextureID != UUID.Zero) |
| 516 |
|
{ |
| 517 |
|
UUID textureID = vObj.prim.Textures.DefaultTexture.TextureID; |
| 518 |
|
if (textureMan != null) |
| 519 |
|
textureMan.RequestImage(textureID, node); |
| 520 |
|
|
| 521 |
|
} |
| 522 |
|
} |
| 523 |
|
|
| 524 |
if (vObj.prim.Textures.FaceTextures != null) |
if (vObj.prim.Textures.FaceTextures != null) |
| 525 |
{ |
{ |
| 526 |
|
|
| 527 |
Primitive.TextureEntryFace[] objfaces = vObj.prim.Textures.FaceTextures; |
Primitive.TextureEntryFace[] objfaces = vObj.prim.Textures.FaceTextures; |
| 528 |
for (int i2 = 0; i2 < objfaces.Length; i2++) |
for (int i2 = 0; i2 < objfaces.Length; i2++) |
| 529 |
{ |
{ |
| 530 |
if (objfaces[i2] == null) |
if (objfaces[i2] == null) |
| 531 |
break; |
continue; |
| 532 |
|
|
| 533 |
UUID textureID = objfaces[i2].TextureID; |
UUID textureID = objfaces[i2].TextureID; |
| 534 |
|
|
| 535 |
if (textureID != UUID.Zero) |
if (textureID != UUID.Zero) |
| 632 |
} |
} |
| 633 |
if (vObj.prim.Textures != null) |
if (vObj.prim.Textures != null) |
| 634 |
{ |
{ |
| 635 |
|
if (vObj.prim.Textures.DefaultTexture != null) |
| 636 |
|
{ |
| 637 |
|
if (vObj.prim.Textures.DefaultTexture.TextureID != UUID.Zero) |
| 638 |
|
{ |
| 639 |
|
UUID textureID = vObj.prim.Textures.DefaultTexture.TextureID; |
| 640 |
|
if (textureMan != null) |
| 641 |
|
textureMan.RequestImage(textureID, node); |
| 642 |
|
|
| 643 |
|
} |
| 644 |
|
} |
| 645 |
if (vObj.prim.Textures.FaceTextures != null) |
if (vObj.prim.Textures.FaceTextures != null) |
| 646 |
{ |
{ |
| 647 |
Primitive.TextureEntryFace[] objfaces = vObj.prim.Textures.FaceTextures; |
Primitive.TextureEntryFace[] objfaces = vObj.prim.Textures.FaceTextures; |
| 648 |
for (int i2 = 0; i2 < objfaces.Length; i2++) |
for (int i2 = 0; i2 < objfaces.Length; i2++) |
| 649 |
{ |
{ |
| 650 |
if (objfaces[i2] == null) |
if (objfaces[i2] == null) |
| 651 |
break; |
continue; |
| 652 |
UUID textureID = objfaces[i2].TextureID; |
UUID textureID = objfaces[i2].TextureID; |
| 653 |
|
|
| 654 |
if (textureID != UUID.Zero) |
if (textureID != UUID.Zero) |
| 1350 |
} |
} |
| 1351 |
} |
} |
| 1352 |
} |
} |
| 1353 |
|
|
| 1354 |
|
private void newAvatarCallback(Simulator sim, Avatar avatar, ulong regionHandle, |
| 1355 |
|
ushort timeDilation) |
| 1356 |
|
{ |
| 1357 |
|
|
| 1358 |
|
} |
| 1359 |
|
|
| 1360 |
#endregion |
#endregion |
| 1361 |
|
|
| 1362 |
#region KeyActions |
#region KeyActions |