'Autodesk Forge Viewer : Snapper won't snap on selected objects
I have a strange issue with forge snapper.
If some objects are selected (hilited in light blue), then the Snapper seems to ignore them completly.
That is, hovering the mouse on them does not give any visual effect.
Clicking on them, Snapper will give "-1" for nodeID.
Unselecting those objects make the snapper working again on the same objects.
The snapper is initialized like so :
this._snapper = new Autodesk.Viewing.Extensions.Snapping.Snapper(this.viewer, {
renderSnappedGeometry: true,
renderSnappedTopology: false,
markupMode: false,
toolName: SnapperName, // Setting a custom name for "our" snapper, to avoid being mixed up with viewer created snapper before or after it with the same name
});
Anyone could give some help ?
Thanks
Edit : I have @types/forge-viewer 7.69.1
Here is the callstack :
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


