From c470efea5734e4515baaf9023f2f2b2cd724725c Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 22 Dec 2007 19:48:01 +0000 Subject: Make copying of scripts into prim inventories more reliable on the first attempt when the asset server is lagging by formalising the de facto polling. This may not be the best solution in the long run, but should improve things for now. This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures for the main map view. --- OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs') diff --git a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs index b31784e..ec93362 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs @@ -185,6 +185,11 @@ namespace SimpleApp { get { return lastName; } } + + public virtual String Name + { + get { return FirstName + LastName; } + } public virtual void OutPacket(Packet newPack, ThrottleOutPacketType packType) @@ -394,8 +399,6 @@ namespace SimpleApp private void Update() { - Encoding enc = Encoding.ASCII; - if (OnAgentUpdate != null) { AgentUpdatePacket pack = new AgentUpdatePacket(); -- cgit v1.1