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; } }