update editor & rename 'model' property to 'src'

This commit is contained in:
MihailRis
2025-06-01 23:09:59 +03:00
parent 4333d9ab06
commit 4ff42b94c3
6 changed files with 86 additions and 47 deletions
+1 -1
View File
@@ -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
);