And actually do what I intended to do with the last commit. Message is gone.
parent
b416422349
commit
5a9bb2eafb
|
@ -1311,9 +1311,9 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
part.ParentGroup.AddInventoryItem(remoteClient, localID, item, copyID);
|
part.ParentGroup.AddInventoryItem(remoteClient, localID, item, copyID);
|
||||||
// Posting on_rez to the prim. Not much point, but
|
// TODO: switch to posting on_rez here when scripts
|
||||||
// needed to kill gratuitious compiler messages
|
// have state in inventory
|
||||||
part.CreateScriptInstance(copyID, 0, true, DefaultScriptEngine);
|
part.CreateScriptInstance(copyID, 0, false, DefaultScriptEngine);
|
||||||
|
|
||||||
// m_log.InfoFormat("[PRIMINVENTORY]: " +
|
// m_log.InfoFormat("[PRIMINVENTORY]: " +
|
||||||
// "Rezzed script {0} into prim local ID {1} for user {2}",
|
// "Rezzed script {0} into prim local ID {1} for user {2}",
|
||||||
|
@ -2060,8 +2060,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
//group.ApplyPhysics(m_physicalPrim);
|
//group.ApplyPhysics(m_physicalPrim);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: make this true to fire on_rez when scripts have state while in inventory
|
// Fire on_rez
|
||||||
group.CreateScriptInstances(0, false, DefaultScriptEngine);
|
group.CreateScriptInstances(0, true, DefaultScriptEngine);
|
||||||
|
|
||||||
if (!attachment)
|
if (!attachment)
|
||||||
rootPart.ScheduleFullUpdate();
|
rootPart.ScheduleFullUpdate();
|
||||||
|
|
Loading…
Reference in New Issue