mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
bug fixs, added a default physics shape estimator based on being a mesh or not and use it on unlink if new root part as type none. Viewer doesn't get updated even with fullupdates we are missing something still
This commit is contained in:
@@ -2723,6 +2723,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// When we delete a group, we currently have to force persist to the database if the object id has changed
|
||||
// (since delete works by deleting all rows which have a given object id)
|
||||
|
||||
// this is as it seems to be in sl now
|
||||
if(linkPart.PhysicsShapeType == (byte)PhysShapeType.none)
|
||||
linkPart.PhysicsShapeType = linkPart.DefaultPhysicsShapeType(); // root prims can't have type none for now
|
||||
|
||||
if (m_rootPart.PhysActor != null)
|
||||
m_rootPart.PhysActor.Building = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user