From 27a81d4909461e9819a76661df77ad26b890332f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 27 Jun 2020 13:16:28 +0100 Subject: [PATCH] minor moon rotation change --- OpenSim/Framework/ViewerEnvironment.cs | 2 +- .../Framework/InventoryAccess/InventoryAccessModule.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/ViewerEnvironment.cs b/OpenSim/Framework/ViewerEnvironment.cs index 5011ba506e..1ba2f433a3 100644 --- a/OpenSim/Framework/ViewerEnvironment.cs +++ b/OpenSim/Framework/ViewerEnvironment.cs @@ -995,7 +995,7 @@ namespace OpenSim.Framework float al = sun_angle; sky.sun_rotation = AzAlToRot(az, al); - sky.moon_rotation = AzAlToRot(az + (float)Math.PI, -al); + sky.moon_rotation = AzAlToRot(az, al + (float)Math.PI); } public static Vector3 Xrot(Quaternion rot) diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 4e316d7892..94f0851991 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs @@ -237,7 +237,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess if(data == null) { m_log.ErrorFormat( - "[INVENTORY ACCESS MODULE CreateNewInventoryItem]: failed to create default enviroment setting asset {0} for agent {1}", name, remoteClient.AgentId); + "[INVENTORY ACCESS MODULE CreateNewInventoryItem]: failed to create default environment setting asset {0} for agent {1}", name, remoteClient.AgentId); return; } }