mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Add non-main dashboard as a propertyowner for a ScreenSpaceDashboard
This commit is contained in:
@@ -92,6 +92,10 @@ ScreenSpaceDashboard::ScreenSpaceDashboard(const ghoul::Dictionary& dictionary)
|
||||
throw ghoul::RuntimeError("Cannot specify items when using the main dashboard");
|
||||
}
|
||||
|
||||
if (!_useMainDashboard) {
|
||||
addPropertySubOwner(_dashboard);
|
||||
}
|
||||
|
||||
if (p.items.has_value()) {
|
||||
ghoul_assert(_useMainDashboard, "Cannot add items to the main dashboard");
|
||||
for (const ghoul::Dictionary& item : *p.items) {
|
||||
|
||||
Reference in New Issue
Block a user