fix turning off phanton always decreasing number of physical parts
parent
909572ed86
commit
c8f7cd60cd
|
@ -4496,6 +4496,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
if (pa != null)
|
||||
{
|
||||
if(wasUsingPhysics)
|
||||
ParentGroup.Scene.RemovePhysicalPrim(1);
|
||||
RemoveFromPhysics();
|
||||
}
|
||||
|
@ -4545,7 +4546,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
pa.SetVolumeDetect(0);
|
||||
*/
|
||||
|
||||
|
||||
if (pa.Building != building)
|
||||
pa.Building = building;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue