Browse Source

Projection lamps don't need to be LPMovable.

As of the HSPlasma changes to generate proper bounds, this causes
projection lights to affect things more correctly, exposing this
problem.
pull/268/head
Adam Johnson 3 years ago
parent
commit
6b0b6f8e75
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/rtlight.py

2
korman/exporter/rtlight.py

@ -193,7 +193,7 @@ class LightConverter:
# If the lamp has any sort of animation attached, then it needs to be marked movable. # If the lamp has any sort of animation attached, then it needs to be marked movable.
# Otherwise, Plasma may not use it for lighting. # Otherwise, Plasma may not use it for lighting.
if projectors or bo.plasma_object.has_animation_data: if bo.plasma_object.has_animation_data:
pl_light.setProperty(plLightInfo.kLPMovable, True) pl_light.setProperty(plLightInfo.kLPMovable, True)
# *Sigh* # *Sigh*

Loading…
Cancel
Save