Fix standalone / simulator local script crossings.

GenericGridServerConcept
Melanie Thielker 2009-02-18 22:57:36 +00:00
parent 0086f9bd92
commit 0b25107c94
1 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,8 @@ namespace OpenSim.Region.CoreModules.Communications.Local
{ {
// We need to make a local copy of the object // We need to make a local copy of the object
ISceneObject sogClone = sog.CloneForNewScene(); ISceneObject sogClone = sog.CloneForNewScene();
sogClone.SetState(sog.GetStateSnapshot(),
s.RegionInfo.RegionID);
return s.IncomingCreateObject(sogClone); return s.IncomingCreateObject(sogClone);
} }
else else