* If you check fixed sun, in the estate tools 'terrain tab', the sun will fix in the location you set. (however the checkbox doesn't get re-populated properly yet, so it'll uncheck again even though the message got through to the server)
parent
f433927722
commit
2d540514f4
|
@ -364,6 +364,13 @@ namespace OpenSim.Region.Environment.Modules
|
|||
// Correct angular velocity to reflect the seasonal rotation
|
||||
|
||||
Magnitude = LLVector3.Mag(Position);
|
||||
if (sunFixed)
|
||||
{
|
||||
Velocity.X = 0;
|
||||
Velocity.Y = 0;
|
||||
Velocity.Z = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
Velocity = LLVector3.Rot(Velocity, Tilt)*((float)(1.0/Magnitude));
|
||||
|
||||
|
@ -423,7 +430,7 @@ namespace OpenSim.Region.Environment.Modules
|
|||
//if (useEstateTime)
|
||||
//LindenHourOffset = 0;
|
||||
|
||||
//ForceSunUpdateToAllClients();
|
||||
ForceSunUpdateToAllClients();
|
||||
sunFixed = FixedTime;
|
||||
if (sunFixed)
|
||||
GenSunPos();
|
||||
|
|
Loading…
Reference in New Issue