MattB

Help with my measurement code

Recommended Posts

I'm trying to make it so the user can create multiple measurements and then delete them individually.  In the playground below, if you click in two different spots on the meshes it will create a measurement.  If you click the measurement it will expand it, and if you click the X it will delete it.  However, if there are two or more measurements it will only delete the last one - what am I missing?

https://playground.babylonjs.com/#JIHTLS

Thanks :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.