Browse Source

Simplify Opacity Fader CI condition.

Co-authored-by: Adam Johnson <AdamJohnso@gmail.com>
pull/300/head
Joseph Davies 3 years ago committed by GitHub
parent
commit
c0a6d0e3a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      korman/properties/modifiers/render.py

5
korman/properties/modifiers/render.py

@ -267,10 +267,7 @@ class PlasmaFadeMod(PlasmaModifierProperties):
@property @property
def requires_actor(self): def requires_actor(self):
if self.fader_type == "FadeOpacity": return self.fader_type == "FadeOpacity"
return True
else:
return False
class PlasmaFollowMod(idprops.IDPropObjectMixin, PlasmaModifierProperties): class PlasmaFollowMod(idprops.IDPropObjectMixin, PlasmaModifierProperties):

Loading…
Cancel
Save