BradyAJohnston / MolecularNodes

Toolbox for molecular animations in Blender, powered by Geometry Nodes.
https://bradyajohnston.github.io/MolecularNodes/
MIT License
825 stars 81 forks source link

Hals of the surface disappear when we unselect "separate" in Surface MN #496

Closed smouilleron closed 4 weeks ago

smouilleron commented 1 month ago

Describe the bug If you load a pdb 5bwx from the pdb and display the protein in surface and centered it loads ok, but then if in the surface representation mode you unselect "separate" half of the surface disappear

To Reproduce Steps to reproduce the behavior:

  1. select PDB = 5BWX
  2. Select pdb file
  3. Select style = Surface
  4. Select center structure
  5. load the pdb
  6. Then in the Surface style MN unselect separate
  7. Half of the surface should disappear

Expected behavior Half of the surface disappear once you unselect Separate in SUrface MN

Screenshots

Before selecting "Separate"

Screenshot 2024-05-18 at 08 07 39

After selecting "separate"

Screenshot 2024-05-18 at 08 07 50

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

smouilleron commented 1 month ago

It looks like if you don't recenter it is not doing it... something wrong happening after centering the structure when loading it.

BradyAJohnston commented 4 weeks ago

Thanks for reporting this! Looks like it is related to #439 . I'll look into a fix!