mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
avoid a null ref on Bullet
This commit is contained in:
@@ -173,7 +173,8 @@ public class BSPrimLinkable : BSPrimDisplaced
|
||||
// Body is being taken apart. Remove physical dependencies and schedule a rebuild.
|
||||
protected override void RemoveDependencies()
|
||||
{
|
||||
Linkset.RemoveDependencies(this);
|
||||
if (Linkset != null)
|
||||
Linkset.RemoveDependencies(this);
|
||||
base.RemoveDependencies();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user