mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
LSL update texture entry is heavy, set all parameters on same update
This commit is contained in:
@@ -2338,10 +2338,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
ParentGroup.Scene.RemovePhysicalPrim(1);
|
||||
|
||||
Velocity = new Vector3(0, 0, 0);
|
||||
Acceleration = new Vector3(0, 0, 0);
|
||||
AngularVelocity = new Vector3(0, 0, 0);
|
||||
APIDActive = false;
|
||||
Stop();
|
||||
|
||||
if (pa.Phantom && !VolumeDetectActive)
|
||||
{
|
||||
@@ -4730,14 +4727,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if ((SetPhantom && !UsePhysics && !SetVD) || ParentGroup.IsAttachment || PhysicsShapeType == (byte)PhysShapeType.none
|
||||
|| (Shape.PathCurve == (byte)Extrusion.Flexible))
|
||||
{
|
||||
Stop();
|
||||
if (pa != null)
|
||||
{
|
||||
if(wasUsingPhysics)
|
||||
ParentGroup.Scene.RemovePhysicalPrim(1);
|
||||
RemoveFromPhysics();
|
||||
}
|
||||
|
||||
Stop();
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user