DarkRadiant: master 163b1548

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 2021-02-25 19:51:41 master 9694cb37
Affected Issues  0005546: Attached light radii are the wrong colour if "Override light volume colour" is active
Changeset 0005546: attached light entities now correctly coloured

Rather than rely exclusively on the possibly-inherited editor_color spawnarg,
entity classes now check this spawnarg only at their own level, then
recursively delegate to their parent class's getColour() method. This ensures
that colour overrides (which are implemented in terms of setColour/getColour)
propagate to child classes.
mod - include/ieclass.h Diff File
mod - radiantcore/eclass/Doom3EntityClass.cpp Diff File
mod - radiantcore/eclass/Doom3EntityClass.h Diff File
mod - test/Entity.cpp Diff File