Directional light update

This commit is contained in:
Trevor SANDY 2023-08-13 21:30:24 +02:00
parent 8cfadc804d
commit 73d28c67b1

View file

@ -1487,7 +1487,7 @@ void lcQPropertiesTree::SetLight(lcObject* Focus)
if (POVRayLight) if (POVRayLight)
{ {
FactorALabel = tr("Radius (°)"); FactorALabel = tr("Radius (°)");
FactorAToolTip = tr("The angle between the \"hot-spot\" edge at the beam center and the center line."); FactorAToolTip = tr("The angle between the \"hot-spot\" edge at the beam center and the center line.");
SpotSizeToolTip = tr("Angle of the spotlight beam - Read only."); SpotSizeToolTip = tr("Angle of the spotlight beam - Read only.");
Factor[0] = Light->mSpotSize - Light->mSpotFalloff; Factor[0] = Light->mSpotSize - Light->mSpotFalloff;
SpotSizeProperty = PropertyFloatReadOnly; SpotSizeProperty = PropertyFloatReadOnly;
@ -1500,7 +1500,7 @@ void lcQPropertiesTree::SetLight(lcObject* Focus)
} }
break; break;
case lcLightType::Directional: case lcLightType::Directional:
Type = tr("Sun"); Type = tr("Directional");
FactorALabel = tr("Angle (°)"); FactorALabel = tr("Angle (°)");
FactorAToolTip = tr("Angular diamater of the sun as seen from the Earth."); FactorAToolTip = tr("Angular diamater of the sun as seen from the Earth.");
ExponentLabel = tr("Strength"); ExponentLabel = tr("Strength");