ISISNeutronMuon / MDANSE

MDANSE: Molecular Dynamics Analysis for Neutron Scattering Experiments
https://www.isis.stfc.ac.uk/Pages/MDANSEproject.aspx
GNU General Public License v3.0
20 stars 4 forks source link

Atom Properties speed-up in 3D view #347

Closed MBartkowiakSTFC closed 5 months ago

MBartkowiakSTFC commented 5 months ago

Description of work The atom property editor in the 3D view tab has been modified, and now it groups atoms of the same type into single entries. This allows the user to change the colour or size of all the atoms of the same type at once.

At the moment it is NOT possible to edit the properties of individual atoms anymore.

Also, at the same time check boxes have been added which enable or disable different parts of the 3D display (atoms, bonds, axes and cell).

Fixes

To test

  1. Try toggling the checkboxes in 3D view both before and after selecting a trajectory.
  2. Edit the atom properties for different atom types and check if the display gets updated each time.
ChiCheng45 commented 5 months ago

All work on my end but can we block the editing of the element name in the atom properties?

image

MBartkowiakSTFC commented 5 months ago

The atom name editing is now disabled.

ChiCheng45 commented 5 months ago

The atom name editing is now disabled.

Thanks looks good!