Replaced property specific functions with the generic function.

This commit is contained in:
Leonardo Zide
2024-04-14 11:08:30 -07:00
parent 954ced14e1
commit 14d1217850
10 changed files with 138 additions and 251 deletions
+19 -2
View File
@@ -63,17 +63,34 @@ QString lcObject::GetCheckpointString(lcObjectPropertyId PropertyId)
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Shadow");
case lcObjectPropertyId::LightPOVRayFadeDistance:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light POV-Ray Fade Distance");
case lcObjectPropertyId::LightPOVRayFadePower:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light POV-Ray Fade Power");
case lcObjectPropertyId::LightPointBlenderRadius:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Point Light Blender Radius");
case lcObjectPropertyId::LightSpotBlenderRadius:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Spot Light Blender Radius");
case lcObjectPropertyId::LightDirectionalBlenderAngle:
case lcObjectPropertyId::LightAreaSize:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Directional Light Blender Angle");
case lcObjectPropertyId::LightAreaSizeX:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Area X Size");
case lcObjectPropertyId::LightAreaSizeY:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Light Area Y Size");
case lcObjectPropertyId::LightSpotConeAngle:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Spot Light Cone Angle");
case lcObjectPropertyId::LightSpotPenumbraAngle:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Spot Light Penumbra Angle");
case lcObjectPropertyId::LightSpotPOVRayTightness:
break;
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Spot Light POV-Ray Tightness");
case lcObjectPropertyId::LightAreaShape:
return QT_TRANSLATE_NOOP("Checkpoint", "Changing Area Light Shape");