mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
reinstated ResetChildPrimPhysicsPositions() as some prims had bad/missing proxies without it
This commit is contained in:
@@ -877,11 +877,13 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
// justincc: I don't believe this hack is needed any longer, especially since the physics
|
||||
// parts of set AbsolutePosition were already commented out. By changing HasGroupChanged to false
|
||||
// this method was preventing proper reload of scene objects.
|
||||
//public void ResetChildPrimPhysicsPositions()
|
||||
//{
|
||||
// AbsolutePosition = AbsolutePosition;
|
||||
// HasGroupChanged = false;
|
||||
//}
|
||||
// dahlia: I had to uncomment it, without it meshing was failing on some prims and objects
|
||||
// at region startup
|
||||
public void ResetChildPrimPhysicsPositions()
|
||||
{
|
||||
AbsolutePosition = AbsolutePosition;
|
||||
HasGroupChanged = false;
|
||||
}
|
||||
|
||||
public LLUUID GetPartsFullID(uint localID)
|
||||
{
|
||||
@@ -1067,7 +1069,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
|
||||
// Hack to get the physics scene geometries in the right spot
|
||||
//ResetChildPrimPhysicsPositions();
|
||||
ResetChildPrimPhysicsPositions();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user