Renamed shadowless to cast shadow.

This commit is contained in:
Leonardo Zide
2023-09-02 10:40:52 -07:00
parent 9648dbb977
commit 080a418e1b
7 changed files with 61 additions and 45 deletions
+1 -1
View File
@@ -2174,7 +2174,7 @@ bool Project::ExportPOVRay(const QString& FileName)
const lcVector3& Location = Light->mPosition;
const QString LightName = QString(Light->mName).replace(" ","_");
LightType = Light->GetLightType();
Shadowless = static_cast<int>(Light->mShadowless);
Shadowless = Light->GetCastShadow() ? 0 : 1;
LightColor = Light->GetColor();
Power = Light->mPOVRayExponent;
switch(LightType)