Fixed POV-Ray area light export.

This commit is contained in:
Leonardo Zide 2024-12-20 13:14:51 -08:00
parent 1df718ecd4
commit 75bee39ea8

View file

@ -2033,7 +2033,7 @@ bool Project::ExportPOVRay(const QString& FileName)
" #elseif (Type = AreaLight)\n" " #elseif (Type = AreaLight)\n"
" area_light AreaWidth, AreaHeight, AreaRows, AreaColumns\n" " area_light AreaWidth, AreaHeight, AreaRows, AreaColumns\n"
" jitter\n" " jitter\n"
" #if (AreaCircle > 0 & AreaWidth > 2 & AreaHeight > 2 & AreaRows > 1 & AreaColumns > 1)\n" " #if (AreaCircle > 0 & AreaRows > 1 & AreaColumns > 1)\n"
" circular \n" " circular \n"
" #if (AreaWidth = AreaHeight & AreaRows = AreaColumns)\n" " #if (AreaWidth = AreaHeight & AreaRows = AreaColumns)\n"
" orient\n" " orient\n"