c# sugar...

This commit is contained in:
UbitUmarov
2022-10-08 00:28:28 +01:00
parent 919ffee0d3
commit 8ca82b2282
6 changed files with 155 additions and 165 deletions

View File

@@ -395,7 +395,7 @@ namespace OpenSim.Region.Framework.Scenes
}
PhysicsActor pa = sceneObject.RootPart.PhysActor;
if (pa is not null && pa.IsPhysical && !vel.IsZero())
if (pa is not null && pa.IsPhysical && vel.IsNotZero())
{
sceneObject.RootPart.ApplyImpulse((vel * sceneObject.GetMass()), false);
}
@@ -671,7 +671,7 @@ namespace OpenSim.Region.Framework.Scenes
protected internal void HandleUndo(IClientAPI remoteClient, UUID primId)
{
if (!primId.IsZero())
if (primId.IsNotZero())
{
SceneObjectPart part = m_parentScene.GetSceneObjectPart(primId);
part?.Undo();
@@ -680,7 +680,7 @@ namespace OpenSim.Region.Framework.Scenes
protected internal void HandleRedo(IClientAPI remoteClient, UUID primId)
{
if (!primId.IsZero())
if (primId.IsNotZero())
{
SceneObjectPart part = m_parentScene.GetSceneObjectPart(primId);
part?.Redo();

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.