[OpenMetaverse.GUI]

* Implemented LoginPanel component in Dashboard example
* Fixed and added more sanity checking on window handles
* Fixed gender detection showing some women as men

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2569 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
2009-03-31 21:28:51 +00:00
parent db5be9692b
commit 0bd903312c
8 changed files with 70 additions and 50 deletions

View File

@@ -118,11 +118,11 @@ namespace OpenMetaverse.GUI
private void UpdateMiniMap(Simulator sim)
{
if (!this.IsHandleCreated) return;
if (this.InvokeRequired) this.BeginInvoke((MethodInvoker)delegate { UpdateMiniMap(sim); });
else
{
if (!this.IsHandleCreated) return;
Bitmap bmp = _MapLayer == null ? new Bitmap(256, 256) : (Bitmap)_MapLayer.Clone();
Graphics g = Graphics.FromImage(bmp);