Closed rkrenzler closed 6 years ago
Press ESC before deleting the pipe. That terminates the observer class neatly and remove both the callbacks and the pure graphical elements. I know it's tricky to deal with that. Just remember that the arrows are independent objects that do not have a Shape and Geometry like other solids displayed but are only graphics sketched in the view-scene (check "Inventor Mentor" for more about that). Anyway, if something fails or you forget to press ESC, when you save and close the document the arrows disappear.
2018-04-01 12:32 GMT+02:00 rkrenzler notifications@github.com:
How to reproduce:
- Create new document.
- Insert a pipe.
- Click on the button which joins fittings (pipeCmd.join() command).
- Select the pipe. Green triangles apear on both sides of the pipe.
- Delete the pipe.
- The pipe is deleted but the green triangles are still there.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/oddtopus/flamingo/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/ATpKXX3HHc0mfSBq7m6-RU7bRT6YLxsAks5tkKzCgaJpZM4TCySC .
Thanks for the explanation. I will try to find out, if it is possible to clean up this kind of objects. Sometimes the command crashes and leaves the arrows too.
Added dialog (with "reset" button). Thus by leaving it, all the arrows will be closed neatly.
How to reproduce: