Skip to content

Commit

Permalink
Add gui page type
Browse files Browse the repository at this point in the history
* Adds the gui page reference to pl_page_types for modifier properties (this fix excludes external for obvious reasons)
  • Loading branch information
DoobesURU committed Aug 28, 2024
1 parent 2fef1de commit d474c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion korman/properties/modifiers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class PlasmaModifierProperties(bpy.types.PropertyGroup):
@property
def allowed(self) -> bool:
"""Returns if this modifier is allowed to be enabled on the owning Object"""
allowed_page_types = getattr(self, "pl_page_types", {"room"})
allowed_page_types = getattr(self, "pl_page_types", {"room", "gui"})
allowed_object_types = getattr(self, "bl_object_types", set())
page_name = self.id_data.plasma_object.page
if not allowed_object_types or self.id_data.type in allowed_object_types:
Expand Down

0 comments on commit d474c4e

Please sign in to comment.