Skip to content

Area Measurement Deletion Bug #651

@luisdm-dev

Description

@luisdm-dev

Describe the bug 📝

When creating multiple area measurements and we delete one measurement, the planes of the other measurements disappear as well (but not the label)

After that happens, trying to delete newly created area measurements do not work.

Reproduction ▶️

https://github.com/ThatOpen/engine_components/blob/main/packages/front/src/measurement/AreaMeasurement/example.ts

Steps to reproduce 🔢

  1. Create two or more area measurement planes
  2. Delete one of them
  3. Create another area measurement
  4. Try to delete the measurement/s

System Info 💻

System:
    OS: macOS 15.5
    CPU: (8) arm64 Apple M2
    Memory: 95.86 MB / 16.00 GB
    Shell: 5.9
  Binaries:
    Node: 23.7.0 
    npm: 11.6.2 
  Browsers:
    Chrome: 142.0.7444.176
    Firefox: 145.0
    Safari: 18.5

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions