Describe the bug 📝
When using Edge-Mode Lengthmeasurement (maybe other measurements have the same issue) clicking on no element (void) the last seen Measurement preview (the measurement label, etc. when not clicking yet) is being used instead of nothing happening!
Reusing of last edge might ease the use of edgemeasurements when not 100% aligning with the edge but there should be a check if there is a Edge available on the doubleclick for this bug.
Reproducable on Lengthmeasurement demo
Reproduction ▶️
No response
Steps to reproduce 🔢
- Goto https://thatopen.github.io/engine_components/examples/LengthMeasurement/
- hover over any edge
- "quickly" move your mouse over to the void (so no other edge-measurement-preview gets registered)
- doubleclick onto nothing
System Info 💻
not sure what version the demo is on but those are my projects versions:
"@thatopen/components": "3.4.6",
"@thatopen/components-front": "3.4.3",
"@thatopen/fragments": "3.4.5",
"@thatopen/ui": "3.4.1",
"@thatopen/ui-obc": "3.4.2",
"three": ">=0.182.0",
"web-ifc": ">=0.0.76"
Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅
Describe the bug 📝
When using Edge-Mode Lengthmeasurement (maybe other measurements have the same issue) clicking on no element (void) the last seen Measurement preview (the measurement label, etc. when not clicking yet) is being used instead of nothing happening!
Reusing of last edge might ease the use of edgemeasurements when not 100% aligning with the edge but there should be a check if there is a Edge available on the doubleclick for this bug.
Reproducable on Lengthmeasurement demo
Reproduction▶️
No response
Steps to reproduce 🔢
System Info 💻
Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅