Browse Source

Export CI for plFadeOpacityMods.

plFadeOpacityMods require a Coordinate Interface to correctly calculate LOS.
pull/300/head
Joseph Davies 3 years ago
parent
commit
d06ac03084
Signed by untrusted user: Deledrius
GPG Key ID: 28ACC6E8D2B24B8A
  1. 7
      korman/properties/modifiers/render.py

7
korman/properties/modifiers/render.py

@ -264,6 +264,13 @@ class PlasmaFadeMod(PlasmaModifierProperties):
mod.nearOpaq = 0.0 mod.nearOpaq = 0.0
mod.farOpaq = self.far_opaq mod.farOpaq = self.far_opaq
mod.farTrans = self.far_trans 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): class PlasmaFollowMod(idprops.IDPropObjectMixin, PlasmaModifierProperties):

Loading…
Cancel
Save