From 92e14fcb1e8ac3618fc40f6fc866e282379eea76 Mon Sep 17 00:00:00 2001 From: Redphoenix <3914410+ssnd292@users.noreply.github.com> Date: Wed, 20 Sep 2023 18:26:59 +0200 Subject: [PATCH] Fix/transforms visibility conditions (#178) * (fix) Visibility Conditions are enabled for Emptys --- addon/i3dio/ui/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/i3dio/ui/object.py b/addon/i3dio/ui/object.py index 2113706..d28da57 100755 --- a/addon/i3dio/ui/object.py +++ b/addon/i3dio/ui/object.py @@ -508,7 +508,7 @@ class I3D_IO_PT_visibility_condition_attributes(Panel): @classmethod def poll(cls, context): - return context.object is not None and context.object.type == 'MESH' + return context.object is not None def draw(self, context): layout = self.layout