mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
This fix addresses the problem where phantom objects do not
always behave like they are phantom, and llVolumeDetect seems to operate in a random fashion. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
This commit is contained in:
committed by
dr scofield (aka dirk husemann)
parent
a43706862c
commit
2a7bedb5e9
@@ -3455,6 +3455,7 @@ if (m_shape != null) {
|
||||
RotationOffset,
|
||||
UsePhysics);
|
||||
|
||||
pa = PhysActor;
|
||||
if (pa != null)
|
||||
{
|
||||
pa.LocalID = LocalId;
|
||||
@@ -3513,7 +3514,6 @@ if (m_shape != null) {
|
||||
AddFlag(PrimFlags.Phantom); // We set this flag also if VD is active
|
||||
this.VolumeDetectActive = true;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{ // Remove VolumeDetect in any case. Note, it's safe to call SetVolumeDetect as often as you like
|
||||
|
||||
Reference in New Issue
Block a user