From d06ac03084dad05496f8efd059b97ad7833801d2 Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Fri, 15 Oct 2021 07:46:25 -0700 Subject: [PATCH] Export CI for plFadeOpacityMods. plFadeOpacityMods require a Coordinate Interface to correctly calculate LOS. --- korman/properties/modifiers/render.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/korman/properties/modifiers/render.py b/korman/properties/modifiers/render.py index 8916b9d..08adaec 100644 --- a/korman/properties/modifiers/render.py +++ b/korman/properties/modifiers/render.py @@ -264,6 +264,13 @@ class PlasmaFadeMod(PlasmaModifierProperties): mod.nearOpaq = 0.0 mod.farOpaq = self.far_opaq mod.farTrans = self.far_trans + + @property + def requires_actor(self): + if self.fader_type == "FadeOpacity": + return True + else: + return False class PlasmaFollowMod(idprops.IDPropObjectMixin, PlasmaModifierProperties):