Skip to content

Commit

Permalink
Projection lamps don't need to be LPMovable.
Browse files Browse the repository at this point in the history
As of the HSPlasma changes to generate proper bounds, this causes
projection lights to affect things more correctly, exposing this
problem.
  • Loading branch information
Hoikas committed Aug 1, 2021
1 parent 480b37c commit 6b0b6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion korman/exporter/rtlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def export_rtlight(self, so, bo):

# If the lamp has any sort of animation attached, then it needs to be marked movable.
# 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)

# *Sigh*
Expand Down

0 comments on commit 6b0b6f8

Please sign in to comment.