diff --git a/CodeWalker.Core/GameFiles/Resources/ResourceBaseTypes.cs b/CodeWalker.Core/GameFiles/Resources/ResourceBaseTypes.cs index 228f327..669c6fc 100644 --- a/CodeWalker.Core/GameFiles/Resources/ResourceBaseTypes.cs +++ b/CodeWalker.Core/GameFiles/Resources/ResourceBaseTypes.cs @@ -881,7 +881,7 @@ namespace CodeWalker.GameFiles public bool IsReadOnly { - get { throw new NotImplementedException(); } + get { return false; } } public bool Remove(T item) @@ -1071,7 +1071,7 @@ namespace CodeWalker.GameFiles public bool IsReadOnly { - get { throw new NotImplementedException(); } + get { return false; } } public bool Remove(T item) @@ -1220,7 +1220,7 @@ namespace CodeWalker.GameFiles public bool IsReadOnly { - get { throw new NotImplementedException(); } + get { return false; } } public bool Remove(T item) diff --git a/Rendering/Renderer.cs b/Rendering/Renderer.cs index e4b23e0..4792f59 100644 --- a/Rendering/Renderer.cs +++ b/Rendering/Renderer.cs @@ -2030,6 +2030,14 @@ namespace CodeWalker.Rendering { RenderDrawable(pch.Drawable1, arch, ent, txdhash); } + else + { } + if ((pch.Drawable2 != null) && (pch.Drawable2.AllModels.Length != 0)) + { + RenderDrawable(pch.Drawable2, arch, ent, txdhash); + } + else + { } } } } diff --git a/WorldForm.cs b/WorldForm.cs index f16607a..5c5ed5c 100644 --- a/WorldForm.cs +++ b/WorldForm.cs @@ -5506,6 +5506,11 @@ namespace CodeWalker case MouseButtons.Right: MouseRButtonDown = true; break; } + if (!ToolsPanelShowButton.Focused) + { + ToolsPanelShowButton.Focus(); //make sure no textboxes etc are focused! + } + MouseDownPoint = e.Location; MouseLastPoint = MouseDownPoint;