From c960635de67ddeeea4e181b3ab2fdd9ecc65a8f7 Mon Sep 17 00:00:00 2001 From: Ryan Inch Date: Fri, 5 Apr 2024 05:36:03 -0400 Subject: [PATCH] Restore the fog component's color property to the UI This was accidentally removed in da9bf97fbf05b1912a0df3ed1c5025e82fd716c4 --- addons/io_hubs_addon/components/definitions/fog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/io_hubs_addon/components/definitions/fog.py b/addons/io_hubs_addon/components/definitions/fog.py index 95734043..e822d71c 100644 --- a/addons/io_hubs_addon/components/definitions/fog.py +++ b/addons/io_hubs_addon/components/definitions/fog.py @@ -15,8 +15,9 @@ class Fog(HubsComponent): } def draw(self, context, layout, panel): - '''Draw method to be called by the panel. The base class method will print all the component properties''' + '''Draw method to be called by the panel.''' layout.prop(data=self, property="type") + layout.prop(data=self, property="color") if self.type == "linear": layout.prop(data=self, property="near") layout.prop(data=self, property="far")