mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 14:59:31 -05:00
Issue/453 (#556)
* Introduced guiName to PropertyOwner * Added requirement that PropertyOwner::identifier may not contain whitespaces * Changed Name to Identifier in asset and scene files * Added new PropertyOwner to RenderEngine that owns the ScreenSpaceRenderables * Moved Name and GuiPath into GUI group * Added user-facing names to layer groups
This commit is contained in:
@@ -193,8 +193,6 @@ RenderablePlanet::RenderablePlanet(const ghoul::Dictionary& dictionary)
|
||||
"RenderablePlanet"
|
||||
);
|
||||
|
||||
const std::string name = dictionary.value<std::string>(SceneGraphNode::KeyName);
|
||||
|
||||
ghoul::Dictionary geomDict = dictionary.value<ghoul::Dictionary>(KeyGeometry);
|
||||
|
||||
if (dictionary.hasKey(KeyRadius)) {
|
||||
@@ -299,7 +297,7 @@ RenderablePlanet::RenderablePlanet(const ghoul::Dictionary& dictionary)
|
||||
"No Radius value specified for Shadow Source Name '{}' from "
|
||||
"'{}' planet. Disabling shadows for this planet",
|
||||
sourceName,
|
||||
name
|
||||
identifier()
|
||||
));
|
||||
disableShadows = true;
|
||||
break;
|
||||
@@ -328,7 +326,7 @@ RenderablePlanet::RenderablePlanet(const ghoul::Dictionary& dictionary)
|
||||
"No Radius value expecified for Shadow Caster Name '{}' from "
|
||||
"'{}' planet. Disabling shadows for this planet.",
|
||||
casterName,
|
||||
name
|
||||
identifier()
|
||||
));
|
||||
disableShadows = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user