Skip to content

Commit

Permalink
Fix mouse_selection_mode=3 (segments)
Browse files Browse the repository at this point in the history
PyMOL 2.4 regression

Fixes schrodinger#313
  • Loading branch information
speleo3 committed Sep 25, 2023
1 parent a610ff1 commit 7cf517b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layer3/Selector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8963,7 +8963,7 @@ static int SelectorLogic1(PyMOLGlobals * G, EvalElem * inp_base, int state)
int break_atom_low = 0;
int last_tag = 0;
for(a = cNDummyAtoms; a < n_atom; a++) {
auto& table_a = I->Table[cNDummyAtoms];
auto& table_a = I->Table[a];
if((tag = base_0_sele[a])
&& ((a >= break_atom_high) || (base_0_sele[a] != last_tag))) {
if(tag != last_tag)
Expand Down

0 comments on commit 7cf517b

Please sign in to comment.