From 75bee39ea80df7fbf40bc38365cf2bb9d61f1b8f Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Fri, 20 Dec 2024 13:14:51 -0800 Subject: [PATCH] Fixed POV-Ray area light export. --- common/project.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/project.cpp b/common/project.cpp index 199ebacc..60abda1c 100644 --- a/common/project.cpp +++ b/common/project.cpp @@ -2033,7 +2033,7 @@ bool Project::ExportPOVRay(const QString& FileName) " #elseif (Type = AreaLight)\n" " area_light AreaWidth, AreaHeight, AreaRows, AreaColumns\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" " #if (AreaWidth = AreaHeight & AreaRows = AreaColumns)\n" " orient\n"