Skip to content

Commit d97531c

Browse files
committed
fix: read the picked actor with invoke instead of a property read
1 parent f424a93 commit d97531c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/ansys/visor/visor-client/src/wasm/VtkScene.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default class VtkScene {
224224
await this.#viewerClicks.dispatchAsync(click, async () => {
225225
const [x, y] = await interactor.GetEventPosition();
226226
const found = await picker.Pick([x, y, 0], renderer);
227-
const actor = found ? await picker.getActor() : null;
227+
const actor = found ? await picker.GetActor() : null;
228228
return actor?.id ?? null;
229229
});
230230
} finally {

0 commit comments

Comments
 (0)