diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-06-18 16:50:17 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-06-18 16:57:16 +0300 |
commit | 68dc0919b3645724f70ca6e609a3f893cba49a69 (patch) | |
tree | ea157dd185f35fc44408afe969203cc052b4e957 | |
parent | bb45bfae0d5f3a7c4d588a2727a86172b12e7c40 (diff) |
#4204 Don't show material editor with model loader
-rw-r--r-- | indra/newview/llfloatermodelpreview.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index f962217480..84b9cb18f8 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -114,11 +114,6 @@ void LLMeshFilePicker::notify(const std::vector<std::string>& filenames) if (filenames.size() > 0) { mMP->loadModel(filenames[0], mLOD); - - if (filenames[0].substr(filenames[0].length() - 4) == ".glb" || filenames[0].substr(filenames[0].length() - 5) == ".gltf") - { - LLMaterialEditor::loadMaterialFromFile(filenames[0], -1); - } } else { |