Skip to content

Commit

Permalink
fix missing node type (#6310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Délèze committed Jul 7, 2023
1 parent 5c420a2 commit d2d8a89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions resources/web/wwi/nodes/WbLookupTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ export default class WbLookupTable {
const v = lookupTable[i];
this.#inputs[i] = v.x;
}
} else {
} else
this.#inputs = undefined;
}
}

minMetricsRange() {
Expand Down
5 changes: 5 additions & 0 deletions resources/web/wwi/nodes/WbPropeller.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import WbGroup from './WbGroup.js';
import { WbNodeType } from './wb_node_type.js';

export default class WbPropeller extends WbGroup {
#device;
Expand All @@ -16,6 +17,10 @@ export default class WbPropeller extends WbGroup {
this.#device = device;
}

get nodeType() {
return WbNodeType.WB_NODE_PROPELLER;
}

postFinalize() {
super.postFinalize();

Expand Down

0 comments on commit d2d8a89

Please sign in to comment.