fixed object-collision issue after uncheck phantom-flag

Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
0.8.0.3
tglion 2014-04-04 18:12:09 +02:00 committed by Michael Cerquoni
parent aec723b955
commit 8b8e1b88ec
1 changed files with 2 additions and 0 deletions

View File

@ -4227,6 +4227,8 @@ namespace OpenSim.Region.Framework.Scenes
if (pa != null)
{
pa.SetMaterial(Material);
pa.Position = GetWorldPosition();
pa.Orientation = GetWorldRotation();
DoPhysicsPropertyUpdate(UsePhysics, true);
SubscribeForCollisionEvents();