internal ProxyControllerBase(Frame frame) { mFrame = frame; ThisLogger = LogManager.GetLogger("OpenSim." + mFrame.Name + "Proxy"); mViewerConfig = new ViewerConfig(frame.Name); if (mViewerConfig.UseThread) { if (CameraThread == null) CameraThread = new ProxyControllerPacketThread(frame.Core, this); else CameraThread.AddController(this); } mAgentUpdateListener = new PacketDelegate(mProxy_AgentUpdatePacketReceived); mObjectUpdateListener = new PacketDelegate(mProxy_ObjectUpdatePacketReceived); }
internal ProxyControllerBase(Frame frame) { mFrame = frame; ThisLogger = LogManager.GetLogger("OpenSim." + mFrame.Name + "Proxy"); mViewerConfig = new ViewerConfig(frame.Name); if (mViewerConfig.UseThread) { if (CameraThread == null) { CameraThread = new ProxyControllerPacketThread(frame.Core, this); } else { CameraThread.AddController(this); } } mAgentUpdateListener = new PacketDelegate(mProxy_AgentUpdatePacketReceived); mObjectUpdateListener = new PacketDelegate(mProxy_ObjectUpdatePacketReceived); }