Skip to content
Snippets Groups Projects
Commit 5d85966b authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

fixed BZDNG-234 (Helix render mode should stop one residue earlier)

parent a17023d8
No related branches found
No related tags found
No related merge requests found
...@@ -237,6 +237,8 @@ void CartoonRenderer::fudge_spline_obj(SplineEntryListList& olistlist) ...@@ -237,6 +237,8 @@ void CartoonRenderer::fudge_spline_obj(SplineEntryListList& olistlist)
for(;lc<olist.size() && olist.at(lc).type==1;++lc) { for(;lc<olist.size() && olist.at(lc).type==1;++lc) {
nlist.push_back(olist.at(lc)); nlist.push_back(olist.at(lc));
} }
// and remove the last one (better graphical appearance)
nlist.back().type=0;
} }
} }
if(lc>=olist.size()) break; if(lc>=olist.size()) break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment