Allow temp-on-rez prims to take part in physics (e.g. temp-on-rez bullets)

This makes re-rezzed temp-on-rez objects visible, too. Fixes Mantis #3405
0.6.5-rc1
Homer Horwitz 2009-05-05 19:44:19 +00:00
parent 78425e392b
commit 7e731b024a
1 changed files with 3 additions and 2 deletions

View File

@ -1845,8 +1845,9 @@ namespace OpenSim.Region.Framework.Scenes
if (m_rootPart == null)
return;
if ((RootPart.Flags & PrimFlags.TemporaryOnRez) != 0)
return;
// Even temporary objects take part in physics (e.g. temp-on-rez bullets)
//if ((RootPart.Flags & PrimFlags.TemporaryOnRez) != 0)
// return;
lock (m_parts)
{