mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Fix for square area light size not visible.
This commit is contained in:
parent
14d1217850
commit
207bc4724f
1 changed files with 1 additions and 1 deletions
|
@ -1324,7 +1324,7 @@ void lcPropertiesWidget::SetLight(const lcArray<lcObject*>& Selection, lcObject*
|
|||
SetPropertyVisible(lcObjectPropertyId::LightAreaShape, IsAreaLight);
|
||||
|
||||
const bool IsSquare = (LightAreaShape == lcLightAreaShape::Square || LightAreaShape == lcLightAreaShape::Disk);
|
||||
SetPropertyVisible(lcObjectPropertyId::LightAreaSizeX, IsAreaLight && !IsSquare);
|
||||
SetPropertyVisible(lcObjectPropertyId::LightAreaSizeX, IsAreaLight);
|
||||
SetPropertyVisible(lcObjectPropertyId::LightAreaSizeY, IsAreaLight && !IsSquare);
|
||||
|
||||
SetPropertyVisible(lcObjectPropertyId::LightAreaPOVRayGridX, IsAreaLight);
|
||||
|
|
Loading…
Add table
Reference in a new issue