From 4eba67175db73bce439ea3f18242c4038d9acb92 Mon Sep 17 00:00:00 2001 From: diva Date: Thu, 12 Mar 2009 01:43:22 +0000 Subject: Minor bug fix. Thanks daTwitch. --- OpenSim/Framework/AgentCircuitData.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs index bcd4c09..c0c910a 100644 --- a/OpenSim/Framework/AgentCircuitData.cs +++ b/OpenSim/Framework/AgentCircuitData.cs @@ -83,7 +83,8 @@ namespace OpenSim.Framework pair["seed"] = OSD.FromString(kvp.Value); childrenSeeds.Add(pair); } - args["children_seeds"] = childrenSeeds; + if (ChildrenCapSeeds.Count > 0) + args["children_seeds"] = childrenSeeds; args["child"] = OSD.FromBoolean(child); args["circuit_code"] = OSD.FromString(circuitcode.ToString()); -- cgit v1.1