From bd25124b8d8b3fd058142925f54e0c54a6c652bf Mon Sep 17 00:00:00 2001 From: Lou Amadio Date: Sat, 10 Jun 2023 10:45:58 -0700 Subject: [PATCH 1/2] Use correct iterator on gizmo --- src/urdfPreview/URDFPreviewPanel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/urdfPreview/URDFPreviewPanel.ts b/src/urdfPreview/URDFPreviewPanel.ts index 54b922bb..187152ee 100644 --- a/src/urdfPreview/URDFPreviewPanel.ts +++ b/src/urdfPreview/URDFPreviewPanel.ts @@ -75,7 +75,7 @@ function toggleAxisOnRobot(jointOrLink : Boolean, scene : BABYLON.Scene, layer: } else { robot.links.forEach((l) => { l.visuals.forEach((v) => { - addAxisToTransform(whichAxis, scene, layer, l.transform); + addAxisToTransform(whichAxis, scene, layer, v.transform); }); }); } From 4273e13dfab525c0f03fd5e0ef88c95013985671 Mon Sep 17 00:00:00 2001 From: Lou Amadio Date: Tue, 13 Jun 2023 11:41:45 -0700 Subject: [PATCH 2/2] Move to babylon_ros 0.0.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f2b33953..74ebeb7e 100644 --- a/package.json +++ b/package.json @@ -456,7 +456,7 @@ "test-compile": "npm run webpack" }, "dependencies": { - "@polyhobbyist/babylon_ros": "^0.0.4", + "@polyhobbyist/babylon_ros": "^0.0.5", "@polyhobbyist/babylon-collada-loader": "^0.0.3", "@vscode/debugadapter": "^1.59.0", "@vscode/extension-telemetry": "^0.6.2",