diff --git a/korman/ui/modifiers/render.py b/korman/ui/modifiers/render.py index fe17821..b660872 100644 --- a/korman/ui/modifiers/render.py +++ b/korman/ui/modifiers/render.py @@ -162,7 +162,8 @@ def fademod(modifier, layout, context): col.prop(modifier, "far_opaq") col.prop(modifier, "far_trans") - if not (modifier.near_trans <= modifier.near_opaq <= modifier.far_opaq <= modifier.far_trans): + if (modifier.fader_type in ("SimpleDist", "DistOpacity") and + not (modifier.near_trans <= modifier.near_opaq <= modifier.far_opaq <= modifier.far_trans)): # Warn the user that the values are not recommended. layout.label("Distance values must be equal or increasing!", icon="ERROR")