From b099dbef27f2af47a421bb9848cfbca1aaa08327 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 4 Jul 2024 07:19:15 +0300 Subject: viewer#1131 Sync 'transform' arrows with UI --- indra/newview/llfloatergltfasseteditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llfloatergltfasseteditor.cpp') diff --git a/indra/newview/llfloatergltfasseteditor.cpp b/indra/newview/llfloatergltfasseteditor.cpp index c1946e9f96..13e0d36c35 100644 --- a/indra/newview/llfloatergltfasseteditor.cpp +++ b/indra/newview/llfloatergltfasseteditor.cpp @@ -155,7 +155,6 @@ void LLFloaterGLTFAssetEditor::onClose(bool app_quitting) gIdleCallbacks.deleteFunction(idle, this); mAsset = nullptr; mObject = nullptr; - } void LLFloaterGLTFAssetEditor::clearRoot() @@ -458,6 +457,7 @@ void LLFloaterGLTFAssetEditor::loadNodeTransforms(S32 node_id) } LL::GLTF::Node& node = mAsset->mNodes[node_id]; + node.makeTRSValid(); mCtrlPosX->set(node.mTranslation[0]); mCtrlPosY->set(node.mTranslation[1]); -- cgit v1.2.3