From 1313544ac7761ec7d84c14009fc95d5d7316004d Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 19 Oct 2007 22:02:07 +0000 Subject: * Major structural change: Begun converting Events to use (caller, args) syntax to conform with .NET guidelines. * OnChatFromViewer has been converted as an example. * Bug: SimpleApp's NPC client does not implement a Scene property and will likely crash with a NullReferenceException when it attempts to chat. --- OpenSim/Region/ClientStack/ClientView.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/ClientStack/ClientView.cs') diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 2489739..cf4072c 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -68,7 +68,14 @@ namespace OpenSim.Region.ClientStack //private AgentAssetUpload UploadAssets; private LLUUID newAssetFolder = LLUUID.Zero; private int debug = 0; + protected IScene m_scene; + + public IScene Scene + { + get { return m_scene; } + } + private ClientManager m_clientManager; private AssetCache m_assetCache; // private InventoryCache m_inventoryCache; -- cgit v1.1