DarkRadiant: master dce7cd42

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 2021-12-21 20:01:37 master 9305c559
Affected Issues  0005836: Changing multiple lights between omni/projected resets colours to black
Changeset 0005836: light option flags are set individually

Instead of setting all four option flags in one go (on all selected lights,
regardless of current per-light option values), each checkbox is connected to
its own lambda resulting in only the toggled option being applied to the
selected lights.

This means that you can now safely toggle "No shadows" with several lights
selected, without unexpectedly overwriting the lights' individual settings for
"Parallel", "No specular" etc.
mod - radiant/ui/lightinspector/LightInspector.cpp Diff File
mod - radiant/ui/lightinspector/LightInspector.h Diff File