We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca1a966 commit a4596edCopy full SHA for a4596ed
src/layout.ts
@@ -70,7 +70,7 @@ export class URDFLayout extends PanelLayout {
70
71
setURDF(data: string): void {
72
// Load robot model
73
- if (this._robotModel !== null) {
+ if (this._robotModel !== null && this._robotModel.object.parent !== null) {
74
// Remove old robot model from visualization
75
// Viewer -> Scene -> Group -> Robot Model
76
this._robotModel.object.parent.remove(this._robotModel.object);
0 commit comments