Comitting incase I break something
This commit is contained in:
@@ -12,7 +12,9 @@ std::vector<std::string> SceneParser::getRequiredAttributes() {
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> SceneParser::getOptionalAttributes() {
|
||||
return {};
|
||||
return {
|
||||
{ "extend", "" }
|
||||
};
|
||||
}
|
||||
|
||||
int32_t SceneParser::onParse(
|
||||
@@ -25,6 +27,7 @@ int32_t SceneParser::onParse(
|
||||
|
||||
//Create the scene item
|
||||
out->name = values["name"];
|
||||
out->extend = values["extend"];
|
||||
|
||||
//Parse the children
|
||||
auto itChildren = node->children.begin();
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
namespace Dawn {
|
||||
struct Scene {
|
||||
std::string name;
|
||||
std::string extend;
|
||||
std::vector<struct SceneItem> items;
|
||||
struct SceneItemComponentRegistry *registry;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user