DarkRadiant: master 0722857c

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 30.03.2022 19:14 master 6bb4c837
Affected Issues  0005907: Allow way to hide some entities in Create Entity list
Changeset 0005907: EntityClass::getVisibility() returns value from spawnargs

Instead of a constant value, getVisibility() now returns the correct
value based on the presence of an "editor_visibility" spawnarg. The
value is initialised lazily by way of a new Lazy class template which
provides a generic means of lazily initialising a value using a callback
function.
add - libs/generic/Lazy.h Diff File
mod - radiantcore/eclass/EClassManager.cpp Diff File
mod - radiantcore/eclass/EntityClass.cpp Diff File
mod - radiantcore/eclass/EntityClass.h Diff File
mod - test/Entity.cpp Diff File