Skip to content

Commit

Permalink
Merge pull request #277 from MozillaReality/fix-fog-color-property-re…
Browse files Browse the repository at this point in the history
…moval

Restore the fog component's color property to the UI
  • Loading branch information
keianhzo authored Apr 17, 2024
2 parents 37469f2 + c960635 commit 634ff15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/io_hubs_addon/components/definitions/fog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 634ff15

Please sign in to comment.