minor moon rotation change

master
UbitUmarov 2020-06-27 13:16:28 +01:00
parent a568b759bc
commit 27a81d4909
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

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