update editor & rename 'model' property to 'src'
This commit is contained in:
@@ -372,7 +372,7 @@ static std::shared_ptr<UINode> read_split_box(
|
||||
static std::shared_ptr<UINode> read_model_viewer(
|
||||
UiXmlReader& reader, const xml::xmlelement& element
|
||||
) {
|
||||
auto model = element.attr("model", "").getText();
|
||||
auto model = element.attr("src", "").getText();
|
||||
auto viewer = std::make_shared<ModelViewer>(
|
||||
reader.getGUI(), glm::vec2(), model
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user