ANP-Granular / ParticleTracking

Library and GUI for tracking (rod-like) particles on camera images in 2D and 3D
https://particletracking.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 2 forks source link

Unintended behavior after creating new rod #53

Closed dmitrypuzyrev closed 1 year ago

dmitrypuzyrev commented 2 years ago

After creating a completely new rod, several strange things happen:

  1. This rod cannot be selected from the list of rods on the right
  2. Undo operation after creation of the rod just assigns zeros to the rod's coordinates (probably intended, but seems not optimal?)
  3. Complete removal of the rod via the clean up menu operation does not remove it from the list of rods on the right
a-niem commented 2 years ago
  1. Undo operation after creation of the rod just assigns zeros to the rod's coordinates (probably intended, but seems not optimal?)

This behavior is intended to avoid potentially costly checking whether this rod can be removed completely.

Points 1. & 3. are unintended behavior and should be addressed.