「view this page in B3 βῆτα server」

Revisions №47

branch: interactive/develop 「№47」
Commited by: Rocco Moretti
GitHub commit link: 「848ddd5d3aa97fd7」 「№3981」
Difference from previous tested commit:  code diff
Commit date: 2019-05-29 14:59:15

Merge pull request #3981 from RosettaCommons/roccomoretti/interactive_geom_validity Foldit: Fix issue with puzzle switching and focus geometry. When you have the camera focused on a residue at the end of the pose, and then switch to a puzzle with a smaller number of residues, you get a crash due to a lingering ResidueGeometry which references a now-nonexisting residue number. To check for this, I added a Geometry::is_valid() function which can check for this case, and added a check in StandaloneCameraController to make sure that the geometry is valid before we switch.

...